Home
last modified time | relevance | path

Searched refs:tquat (Results 1 – 24 of 24) sorted by relevance

/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dquaternion.hpp34 struct tquat struct
38 typedef tquat<T, P> type; argument
81 GLM_FUNC_DECL GLM_CONSTEXPR tquat() GLM_DEFAULT_CTOR;
82 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, P> const & q) GLM_DEFAULT;
84 GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, Q> const & q);
88 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tquat(ctor);
89 GLM_FUNC_DECL GLM_CONSTEXPR tquat(T const & s, tvec3<T, P> const & v);
90 GLM_FUNC_DECL GLM_CONSTEXPR tquat(T const & w, T const & x, T const & y, T const & z);
95 GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT tquat(tquat<U, Q> const & q);
109 GLM_FUNC_DECL tquat(tvec3<T, P> const & u, tvec3<T, P> const & v);
[all …]
Dquaternion.inl13 struct compute_dot<tquat, T, P, Aligned>
15 static GLM_FUNC_QUALIFIER T call(tquat<T, P> const& x, tquat<T, P> const& y)
25 static tquat<T, P> call(tquat<T, P> const& q, tquat<T, P> const& p)
27 return tquat<T, P>(q.w + p.w, q.x + p.x, q.y + p.y, q.z + p.z);
34 static tquat<T, P> call(tquat<T, P> const& q, tquat<T, P> const& p)
36 return tquat<T, P>(q.w - p.w, q.x - p.x, q.y - p.y, q.z - p.z);
43 static tquat<T, P> call(tquat<T, P> const& q, T s)
45 return tquat<T, P>(q.w * s, q.x * s, q.y * s, q.z * s);
52 static tquat<T, P> call(tquat<T, P> const& q, T s)
54 return tquat<T, P>(q.w / s, q.x / s, q.y / s, q.z / s);
[all …]
Dquaternion_simd.inl13 static tquat<float, P> call(tquat<float, P> const& q1, tquat<float, P> const& q2)
54 tquat<float, P> Result(uninitialize);
65 struct compute_dot<tquat, float, P, true>
67 static GLM_FUNC_QUALIFIER float call(tquat<float, P> const& x, tquat<float, P> const& y)
76 static tquat<float, P> call(tquat<float, P> const& q, tquat<float, P> const& p)
78 tquat<float, P> Result(uninitialize);
88 static tquat<double, P> call(tquat<double, P> const & a, tquat<double, P> const & b)
90 tquat<double, P> Result(uninitialize);
100 static tquat<float, P> call(tquat<float, P> const& q, tquat<float, P> const& p)
112 static tquat<double, P> call(tquat<double, P> const & a, tquat<double, P> const & b)
[all …]
Depsilon.inl105 tquat<T, P> const & x,
106 tquat<T, P> const & y,
117 tquat<T, P> const & x,
118 tquat<T, P> const & y,
Dtype_ptr.inl277 tquat<T, P> const & q
288 tquat<T, P> & q
441 GLM_FUNC_QUALIFIER tquat<T, defaultp> make_quat(T const * const ptr)
443 tquat<T, defaultp> Result;
444 memcpy(value_ptr(Result), ptr, sizeof(tquat<T, defaultp>));
Dtype_ptr.hpp144 GLM_FUNC_DECL tquat<T, defaultp> make_quat(T const * const ptr);
Dtype_precision.hpp852 typedef tquat<f32, defaultp> f32quat;
856 typedef tquat<f64, defaultp> f64quat;
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dquaternion.hpp36 tquat<T, P> const & q,
45 tquat<T, P> const & q);
52 GLM_FUNC_DECL tquat<T, P> squad(
53 tquat<T, P> const & q1,
54 tquat<T, P> const & q2,
55 tquat<T, P> const & s1,
56 tquat<T, P> const & s2,
63 GLM_FUNC_DECL tquat<T, P> intermediate(
64 tquat<T, P> const & prev,
65 tquat<T, P> const & curr,
[all …]
Dquaternion.inl10 GLM_FUNC_QUALIFIER tvec3<T, P> cross(tvec3<T, P> const& v, tquat<T, P> const& q)
16 GLM_FUNC_QUALIFIER tvec3<T, P> cross(tquat<T, P> const& q, tvec3<T, P> const& v)
22 GLM_FUNC_QUALIFIER tquat<T, P> squad
24 tquat<T, P> const & q1,
25 tquat<T, P> const & q2,
26 tquat<T, P> const & s1,
27 tquat<T, P> const & s2,
34 GLM_FUNC_QUALIFIER tquat<T, P> intermediate
36 tquat<T, P> const & prev,
37 tquat<T, P> const & curr,
[all …]
Drotate_normalized_axis.inl44 GLM_FUNC_QUALIFIER tquat<T, P> rotateNormalizedAxis
46 tquat<T, P> const & q,
56 …return q * tquat<T, P>(cos(AngleRad * static_cast<T>(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin);
57 …//return gtc::quaternion::cross(q, tquat<T, P>(cos(AngleRad * T(0.5)), Tmp.x * fSin, Tmp.y * fSin,…
Drotate_normalized_axis.hpp56 GLM_FUNC_DECL tquat<T, P> rotateNormalizedAxis(
57 tquat<T, P> const & q,
Ddual_quaternion.hpp39 typedef glm::tquat<T, P> part_type;
43 glm::tquat<T, P> real, dual;
64 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & real);
65 …GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & orientation, tvec3<T, P> const & transla…
66 GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, P> const & real, tquat<T, P> const & dual);
Ddual_quaternion.inl31 : real(tquat<T, P>())
32 , dual(tquat<T, P>(0, 0, 0, 0))
59 GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r)
60 : real(r), dual(tquat<T, P>(0, 0, 0, 0))
64 …GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & q, tvec3<T, P> con…
73 …GLM_FUNC_QUALIFIER GLM_CONSTEXPR tdualquat<T, P>::tdualquat(tquat<T, P> const & r, tquat<T, P> con…
246 const glm::tquat<T, P> real = conjugate(q.real);
247 const glm::tquat<T, P> dual = conjugate(q.dual);
260 tquat<T, P> r = x.real / length2(x.real);
262 tquat<T, P> const rr(r.w * x.real.w, r.x * x.real.x, r.y * x.real.y, r.z * x.real.z);
[all …]
Dmatrix_decompose.hpp37 …tvec3<T, P> & scale, tquat<T, P> & orientation, tvec3<T, P> & translation, tvec3<T, P> & skew, tve…
Dhash.hpp68 struct hash<glm::tquat<T,P>>
70 GLM_FUNC_DECL size_t operator()(glm::tquat<T, P> const & q) const;
Dsimd_quat.hpp48 typedef tquat<bool, defaultp> bool_type;
49 typedef tquat<float, defaultp> pure_type;
Dhash.inl66 GLM_FUNC_QUALIFIER size_t hash<glm::tquat<T, P>>::operator()(glm::tquat<T,P> const & q) const
81 hash<glm::tquat<T, P>> hasher;
Dtype_trait.hpp226 struct type<tquat, T, P>
Dio.hpp162 …GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, tquat<T,P> con…
Dstring_cast.inl421 struct compute_to_string<tquat, T, P>
423 GLM_FUNC_QUALIFIER static std::string call(tquat<T, P> const & x)
Dmatrix_decompose.inl30 …GLM_FUNC_QUALIFIER bool decompose(tmat4x4<T, P> const & ModelMatrix, tvec3<T, P> & Scale, tquat<T,…
Dio.inl199 …GLM_FUNC_QUALIFIER std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>& os, tquat<…
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dglm.cpp237 template struct tquat<float32, lowp>; variable
238 template struct tquat<float64, lowp>; variable
240 template struct tquat<float32, mediump>; variable
241 template struct tquat<float64, mediump>; variable
243 template struct tquat<float32, highp>; variable
244 template struct tquat<float64, highp>; variable
/hardware/google/gfxstream/third-party/glm/include/glm/
Dfwd.hpp15 template <typename T, precision P> struct tquat;
20 typedef tquat<float, lowp> lowp_quat;
25 typedef tquat<float, mediump> mediump_quat;
30 typedef tquat<float, highp> highp_quat;
67 typedef tquat<double, lowp> lowp_dquat;
72 typedef tquat<double, mediump> mediump_dquat;
77 typedef tquat<double, highp> highp_dquat;
2229 typedef tquat<f32, lowp> lowp_f32quat;
2233 typedef tquat<f64, lowp> lowp_f64quat;
2237 typedef tquat<f32, mediump> mediump_f32quat;
[all …]