| 30 | |
| 31 | template<class Wall> |
| 32 | static m_Vec3 GetNormalForWall( const Wall& wall ) |
| 33 | { |
| 34 | m_Vec3 n( wall.vert_pos[0].y - wall.vert_pos[1].y, wall.vert_pos[1].x - wall.vert_pos[0].x, 0.0f ); |
| 35 | return n / n.xy().Length(); |
| 36 | } |
| 37 | |
| 38 | static bool CollideWithSquare( const MapData::ModelDescription& model_description ) |
| 39 | { |
no outgoing calls
no test coverage detected