Home
last modified time | relevance | path

Searched refs:quatd (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/math/tests/
Dquat_test.cpp39 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()
[all …]
/frameworks/native/libs/math/include/math/
Dquat.h142 typedef details::TQuaternion<double> quatd; typedef
167 constexpr inline quatd operator"" _id(long double v) {
168 return quatd(0, static_cast<double>(v), 0, 0);
170 constexpr inline quatd operator"" _jd(long double v) {
171 return quatd(0, 0, static_cast<double>(v), 0);
173 constexpr inline quatd operator"" _kd(long double v) {
174 return quatd(0, 0, 0, static_cast<double>(v));
177 constexpr inline quatd operator"" _id(unsigned long long v) { // NOLINT
178 return quatd(0, static_cast<double>(v), 0, 0);
180 constexpr inline quatd operator"" _jd(unsigned long long v) { // NOLINT
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dtypes.h45 using quatd = Eigen::Quaterniond; variable