Lines Matching refs:quatd
39 quatd q; in TEST_F()
42 EXPECT_EQ(sizeof(quatd), sizeof(double)*4); in TEST_F()
47 quatd q0; in TEST_F()
53 quatd q1(1); in TEST_F()
59 quatd q2(1, 2, 3, 4); in TEST_F()
65 quatd q3(q2); in TEST_F()
71 quatd q4(q3.xyz, 42); in TEST_F()
77 quatd q5(double3(q2.xy, 42), 24); in TEST_F()
83 quatd q6; in TEST_F()
90 quatd q7 = 1 + 2_id + 3_jd + 4_kd; in TEST_F()
104 quatd q0(1, 2, 3, 4); in TEST_F()
131 quatd q0(1, 2, 3, 4); in TEST_F()
157 quatd q1(10, 20, 30, 40); in TEST_F()
181 quatd q0(1, 2, 3, 4); in TEST_F()
182 quatd q1(10, 20, 30, 40); in TEST_F()
191 quatd q0(1, 2, 3, 4); in TEST_F()
192 quatd q1(10, 20, 30, 40); in TEST_F()
194 quatd q2(q0 + q1); in TEST_F()
226 quatd q(1, 2, 3, 4); in TEST_F()
227 quatd qc(conj(q)); in TEST_F()
228 __attribute__((unused)) quatd qi(inverse(q)); in TEST_F()
229 quatd qn(normalize(q)); in TEST_F()
242 quatd qr = quatd::fromAxisAngle(double3(0, 0, 1), M_PI / 2); in TEST_F()
251 quatd qq = qr * qr; in TEST_F()
252 quatd q2 = pow(qr, 2); in TEST_F()
258 quatd qa = quatd::fromAxisAngle(double3(0, 0, 1), 0); in TEST_F()
259 quatd qb = quatd::fromAxisAngle(double3(0, 0, 1), M_PI / 2); in TEST_F()
260 quatd qs = slerp(qa, qb, 0.5); in TEST_F()
261 qr = quatd::fromAxisAngle(double3(0, 0, 1), M_PI / 4); in TEST_F()
284 quatd a = quatd::fromAxisAngle(axis_a, angle_a); in TEST_F()
288 quatd b = quatd::fromAxisAngle(axis_b, angle_b); in TEST_F()
290 quatd ab = a * b; in TEST_F()
291 quatd ab_other(a.w * b.xyz + b.w * a.xyz + cross(a.xyz, b.xyz), in TEST_F()