| 20 | static const float g_commands_coords_scale= 1.0f / 256.0f; |
| 21 | |
| 22 | static unsigned int AnimationNumberToModelNumber( const unsigned int animation_number ) |
| 23 | { |
| 24 | // Animations for models starts with 33. But, sometimes, animation number bigger, then total amount of models on map. |
| 25 | // Sometimes, animation_number is 1. TODO - know, what means 1. |
| 26 | if( animation_number < 33u ) |
| 27 | return ~0u; |
| 28 | return animation_number - 33u; |
| 29 | } |
| 30 | |
| 31 | template<class Wall> |
| 32 | static m_Vec3 GetNormalForWall( const Wall& wall ) |
no outgoing calls
no test coverage detected