Constructor * @param radius Radius of the sphere */
| 37 | * @param radius Radius of the sphere |
| 38 | */ |
| 39 | SphereShape::SphereShape(decimal radius, MemoryAllocator& allocator) |
| 40 | : ConvexShape(CollisionShapeName::SPHERE, CollisionShapeType::SPHERE, allocator, radius) { |
| 41 | assert(radius > decimal(0.0)); |
| 42 | } |
| 43 | |
| 44 | // Compute the transformed AABB of the collision shape given a transform |
| 45 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected