| 196 | } |
| 197 | |
| 198 | float GetAabbArea(const BoundingBox& box) |
| 199 | { |
| 200 | float width = box.Extents.x * 2; |
| 201 | float height = box.Extents.y * 2; |
| 202 | float depth = box.Extents.z * 2; |
| 203 | |
| 204 | return (((width * height) + (width * depth) + (height * depth)) * 2); |
| 205 | } |
| 206 | |
| 207 | float GetDistanceToLine(const Vector3& origin, const Vector3& linePoint0, const Vector3& linePoint1) |
| 208 | { |
no outgoing calls
no test coverage detected