MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Deanimate

Method Deanimate

engine/Poseidon/World/Simulation/Animation/Animation.cpp:1378–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376{
1377 return _animation.GetSelection(level);
1378}
1379
1380void AnimationRotationType::Animate(LODShape* shape, int level, float phase, Matrix4Par baseAnim)
1381{
1382 saturate(phase, 0, 1);
1383 float angle = _angle0 + phase * (_angle1 - _angle0);
1384 Matrix4 rot;

Callers

nothing calls this directly

Calls 1

RestoreMethod · 0.45

Tested by

no test coverage detected