public static void AddAABox(AABox aabox, ref BoundingBox bb) { bb.Min = Vector3.Min(aabox.MinPos, bb.Min); bb.Max = Vector3.Max(aabox.MaxPos, bb.Max); }
public override void GetBoundingBox(out AABox box) { box = Octree.BoundingBox.Clone() as AABox; box.Transform = Transform; }
public override void GetBoundingBox(out AABox box) { box = new AABox(Min, Max); }