Use new Vector4 class

This commit is contained in:
Matthias Grob
2023-03-21 15:01:26 +01:00
parent 08d6465ce5
commit b0189d95af
12 changed files with 32 additions and 56 deletions
+2 -2
View File
@@ -233,7 +233,7 @@ bool MatrixTest::attitudeTests()
// quaterion copy ctors
float data_v4[] = {1, 2, 3, 4};
Vector<float, 4> v4(data_v4);
Vector4f v4(data_v4);
Quatf q_from_v(v4);
ut_test(isEqual(q_from_v, v4));
@@ -242,7 +242,7 @@ bool MatrixTest::attitudeTests()
ut_test(isEqual(q_from_m, m4));
// quaternion derivative
Vector<float, 4> q_dot = q.derivative1(Vector3f(1, 2, 3));
Vector4f q_dot = q.derivative1(Vector3f(1, 2, 3));
(void)q_dot;
// quaternion product