public AxisAlignedBoundingBox GetAxisAlignedBoundingBox() { if (Vertices.Count == 0) { return(new AxisAlignedBoundingBox(Vector3.Zero, Vector3.Zero)); } if (cachedAABB == null) { cachedAABB = Vertices.Bounds(); } return(cachedAABB); }