| 116 | } |
| 117 | |
| 118 | Vector3 AxisAngle::ToDirection() const |
| 119 | { |
| 120 | // TODO: Works, but need to find a way without EulerAngles. -- Sezz 2023.03.08 |
| 121 | auto refDir = Geometry::RotatePoint(Vector3::Right, EulerAngles(_axis)); |
| 122 | return Geometry::RotatePoint(refDir, *this); |
| 123 | } |
| 124 | |
| 125 | EulerAngles AxisAngle::ToEulerAngles() const |
| 126 | { |