internal static BoundsBox TransformAABBFast(BoundsBox bounds, Matrix matrix) { Vector3 newCenter = Vector3.TransformCoordinate(bounds.Center, matrix); Vector3 newExtent = Vector3.TransformNormal(bounds.Extent, AbsMatrix(matrix)); return(new BoundsBox(newCenter - newExtent, newCenter + newExtent)); }
internal MeshInfo(string name, BoundsBox bounds) { Name = name; Bounds = bounds; }