|
group2 0.1.0
CSE 125 Group 2
|
Implementation of the thread-local contact debug accumulator. More...
Namespaces | |
| namespace | physics |
| Pure physics math — no ECS types, no registry. | |
| namespace | physics::debug |
Functions | |
| void | physics::debug::pushContact (const Contact &c) noexcept |
| Push a contact event. | |
| void | physics::debug::pushSweepContact (glm::vec3 point, glm::vec3 normal, ContactSource source, uint32_t primitiveIndex=0) noexcept |
| Convenience overload for non-depenetration (sweep) contacts. | |
| void | physics::debug::pushDepenContact (glm::vec3 point, glm::vec3 normal, float depth, ContactSource source, uint32_t primitiveIndex=0) noexcept |
| Convenience overload for depenetration contacts (with depth). | |
| void | physics::debug::setEnabled (bool on) noexcept |
| Enable / disable recording. | |
| bool | physics::debug::isEnabled () noexcept |
| Query the recording flag. Internal fast-path predicate. | |
| void | physics::debug::beginFrame () noexcept |
| Drain all thread-local buffers into the front buffer and clear them. | |
| std::span< const Contact > | physics::debug::contacts () noexcept |
| Snapshot of all contacts pushed since the last beginFrame(). | |
Implementation of the thread-local contact debug accumulator.