| 377 | } |
| 378 | |
| 379 | bool Renderer::SphereBoxIntersection(BoundingBox box, Vector3 sphereCentre, float sphereRadius) |
| 380 | { |
| 381 | if (sphereRadius == 0.0f) |
| 382 | { |
| 383 | return box.Contains(sphereCentre); |
| 384 | } |
| 385 | else |
| 386 | { |
| 387 | BoundingSphere sphere = BoundingSphere(sphereCentre, sphereRadius); |
| 388 | return box.Intersects(sphere); |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | void Renderer::FlipRooms(short roomNumber1, short roomNumber2) |
| 393 | { |
nothing calls this directly
no test coverage detected