| 13 | namespace sim { |
| 14 | |
| 15 | Matrix3 getOrientationFromDirection(const Vector3& direction) |
| 16 | { |
| 17 | Vector3 tangent, bitangent; |
| 18 | math::getOrthonormalBasis(direction, tangent, bitangent); |
| 19 | return Matrix3(direction, tangent, bitangent); |
| 20 | } |
| 21 | |
| 22 | double posInfinity() |
| 23 | { |
no test coverage detected