| 140 | } |
| 141 | |
| 142 | short GetSurfaceSlopeAngle(const Vector3& normal, const Vector3& axis) |
| 143 | { |
| 144 | if (normal == -axis) |
| 145 | return 0; |
| 146 | |
| 147 | return FROM_RAD(acos(normal.Dot(-axis))); |
| 148 | } |
| 149 | |
| 150 | short GetSurfaceAspectAngle(const Vector3& normal, const Vector3& axis) |
| 151 | { |
no test coverage detected