rotation_test.cc | 62 // double quaternion[4]; 63 // EXPECT_THAT(quaternion, IsNormalizedQuaternion()); 66 *result_listener << "Null quaternion"; 86 *result_listener << "Null quaternion"; 197 // Transforms a zero axis/angle to a quaternion. 200 double quaternion[4]; local 202 AngleAxisToQuaternion(axis_angle, quaternion); 203 EXPECT_THAT(quaternion, IsNormalizedQuaternion()); 204 EXPECT_THAT(quaternion, IsNearQuaternion(expected)); 212 double quaternion[4] local 224 double quaternion[4]; local 234 double quaternion[4]; local 243 double quaternion[4] = { 1, 0, 0, 0 }; local 252 double quaternion[4] = { 0, 0, 1, 0 }; local 262 double quaternion[4] = { sqrt(3) \/ 2, 0, 0, 0.5 }; local 273 double quaternion[4] = { cos(theta\/2), sin(theta\/2.0), 0, 0 }; local 284 double quaternion[4] = { cos(theta\/2), sin(theta\/2.0), 0, 0 }; local 292 double quaternion[4]; local 331 double quaternion[4]; local 348 double quaternion[4]; local 697 J3 quaternion[4]; local 717 J3 quaternion[4]; local 735 J3 quaternion[4]; local 754 J4 quaternion[4] = { J4(c, 0), J4(s, 1), J4(0, 2), J4(0, 3) }; local 774 J4 quaternion[4] = { J4(c, 0), J4(s, 1), J4(0, 2), J4(0, 3) }; local 791 J4 quaternion[4] = { J4(1, 0), J4(0, 1), J4(0, 2), J4(0, 3) }; local [all...] |