public static LmAABB Unpack(LmMsgPck msg) { var min = LmVector3.Unpack(msg); var max = LmVector3.Unpack(msg); return(new LmAABB(min, max)); }
public LmOrientedBB(LmVector3 center, LmVector3 xHalfExtent, LmVector3 yHalfExtent, LmVector3 zHalfExtent) { this.Center = center; this.XHalfExtent = xHalfExtent; this.YHalfExtent = yHalfExtent; this.ZHalfExtent = zHalfExtent; }
public LmMatrix(LmVector3 row0, LmVector3 row1, LmVector3 row2, LmVector3 row3) { this.Row0 = row0; this.Row1 = row1; this.Row2 = row2; this.Row3 = row3; }
public static LmOrientedBB Unpack(LmMsgPck msg) { var center = LmVector3.Unpack(msg); var xHalfExtent = LmVector3.Unpack(msg); var yHalfExtent = LmVector3.Unpack(msg); var zHalfExtent = LmVector3.Unpack(msg); return(new LmOrientedBB(center, xHalfExtent, yHalfExtent, zHalfExtent)); }
public static LmMatrix Unpack(LmMsgPck msg) { var row0 = LmVector3.Unpack(msg); var row1 = LmVector3.Unpack(msg); var row2 = LmVector3.Unpack(msg); var row3 = LmVector3.Unpack(msg); return(new LmMatrix(row0, row1, row2, row3)); }
public LmAABB(LmVector3 min, LmVector3 max) { this.Min = min; this.Max = max; }