|
11 | 11 |
|
12 | 12 | namespace omath::unreal_engine |
13 | 13 | { |
14 | | - constexpr Vector3<float> k_abs_up = {0, 0, 1}; |
15 | | - constexpr Vector3<float> k_abs_right = {0, 1, 0}; |
16 | | - constexpr Vector3<float> k_abs_forward = {1, 0, 0}; |
| 14 | + constexpr Vector3<double> k_abs_up = {0, 0, 1}; |
| 15 | + constexpr Vector3<double> k_abs_right = {0, 1, 0}; |
| 16 | + constexpr Vector3<double> k_abs_forward = {1, 0, 0}; |
17 | 17 |
|
18 | | - using Mat4X4 = Mat<4, 4, float, MatStoreType::ROW_MAJOR>; |
19 | | - using Mat3X3 = Mat<4, 4, float, MatStoreType::ROW_MAJOR>; |
20 | | - using Mat1X3 = Mat<1, 3, float, MatStoreType::ROW_MAJOR>; |
21 | | - using PitchAngle = Angle<float, -90.f, 90.f, AngleFlags::Clamped>; |
22 | | - using YawAngle = Angle<float, -180.f, 180.f, AngleFlags::Normalized>; |
23 | | - using RollAngle = Angle<float, -180.f, 180.f, AngleFlags::Normalized>; |
| 18 | + using Mat4X4 = Mat<4, 4, double, MatStoreType::ROW_MAJOR>; |
| 19 | + using Mat3X3 = Mat<4, 4, double, MatStoreType::ROW_MAJOR>; |
| 20 | + using Mat1X3 = Mat<1, 3, double, MatStoreType::ROW_MAJOR>; |
| 21 | + using PitchAngle = Angle<double, -90., 90., AngleFlags::Clamped>; |
| 22 | + using YawAngle = Angle<double, -180., 180., AngleFlags::Normalized>; |
| 23 | + using RollAngle = Angle<double, -180., 180., AngleFlags::Normalized>; |
24 | 24 |
|
25 | 25 | using ViewAngles = omath::ViewAngles<PitchAngle, YawAngle, RollAngle>; |
26 | 26 | } // namespace omath::unreal_engine |
0 commit comments