| 73 | } |
| 74 | |
| 75 | void BoundingBox::FromSphere(const BoundingSphere& sphere, BoundingBox& result) |
| 76 | { |
| 77 | result = BoundingBox( |
| 78 | Vector3(sphere.Center.X - sphere.Radius, sphere.Center.Y - sphere.Radius, sphere.Center.Z - sphere.Radius), |
| 79 | Vector3(sphere.Center.X + sphere.Radius, sphere.Center.Y + sphere.Radius, sphere.Center.Z + sphere.Radius) |
| 80 | ); |
| 81 | } |
| 82 | |
| 83 | BoundingBox BoundingBox::FromSphere(const BoundingSphere& sphere) |
| 84 | { |
no test coverage detected