| 1376 | { |
| 1377 | return _animation.GetSelection(level); |
| 1378 | } |
| 1379 | |
| 1380 | void 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; |