| 15 | using namespace ZenLoad; |
| 16 | |
| 17 | AnimHandler::AnimHandler() |
| 18 | { |
| 19 | m_ActiveAnimation.invalidate(); |
| 20 | m_AnimRootVelocity = Math::float3(0, 0, 0); |
| 21 | m_AnimRootPosition = Math::float3(0, 0, 0); |
| 22 | m_LastProcessedFrame = static_cast<size_t>(-1); |
| 23 | m_AnimationStateHash = 0; |
| 24 | m_pWorld = nullptr; |
| 25 | m_AnimationFrame = 0.0f; |
| 26 | |
| 27 | for (unsigned i = 0; i < NUM_VELOCITY_AVERAGE_STEPS; i++) |
| 28 | { |
| 29 | m_AnimVelocityRingBuff[i] = Math::float3(0, 0, 0); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * @brief Sets the mesh-lib this operates on. Does a copy inside, so the given object can be deleted. |
nothing calls this directly
no test coverage detected