| 502 | } |
| 503 | |
| 504 | float AnimHandler::getActiveAnimationProgress() |
| 505 | { |
| 506 | Animations::Animation* anim = getActiveAnimationPtr(); |
| 507 | if (!anim || !anim->m_Data.isValid()) |
| 508 | return 0.0f; |
| 509 | |
| 510 | return m_AnimationFrame / (float)anim->m_FrameCount; |
| 511 | } |
| 512 | |
| 513 | Math::float3 AnimHandler::getRootNodeVelocityAvg() |
| 514 | { |
no test coverage detected