Initialization
| 61 | |
| 62 | /// Initialization |
| 63 | void PhysicsCommon::init() { |
| 64 | |
| 65 | // Initialize the static half-edge structure for the BoxShape collision shape |
| 66 | initBoxShapeHalfEdgeStructure(); |
| 67 | |
| 68 | // Initialize the static half-edge structure for the TriangleShape collision shape |
| 69 | initTriangleShapeHalfEdgeStructure(); |
| 70 | } |
| 71 | |
| 72 | // Initialize the static half-edge structure of a BoxShape |
| 73 | void PhysicsCommon::initBoxShapeHalfEdgeStructure() { |
no outgoing calls
no test coverage detected