| 266 | } |
| 267 | |
| 268 | EulerAngles GetOrientToPoint(const Vector3& origin, const Vector3& target) |
| 269 | { |
| 270 | if (origin == target) |
| 271 | return EulerAngles::Identity; |
| 272 | |
| 273 | return EulerAngles(target - origin); |
| 274 | } |
| 275 | |
| 276 | EulerAngles GetRelOrientToNormal(short orient, const Vector3& normal, const Vector3& gravity) |
| 277 | { |
no test coverage detected