Lines Matching refs:tquat
38 GLM_FUNC_QUALIFIER GLM_CONSTEXPR length_t tquat<T, P>::length() const
44 GLM_FUNC_QUALIFIER tquat<T, P>::tquat() : function in glm::detail::tquat
53 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
55 tquat<U, Q> const & q
64 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
76 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
90 // tquat conversions
93 //GLM_FUNC_QUALIFIER tquat<valType>::tquat
111 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
119 detail::tquat<T, P> q(T(1) + Dot, w.x, w.y, w.z);
125 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
140 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
149 GLM_FUNC_QUALIFIER tquat<T, P>::tquat function in glm::detail::tquat
158 // tquat<T, P> accesses
161 GLM_FUNC_QUALIFIER T & tquat<T, P>::operator[] (length_t i)
168 GLM_FUNC_QUALIFIER T const & tquat<T, P>::operator[] (length_t i) const
176 GLM_FUNC_QUALIFIER detail::tquat<T, P> conjugate
178 detail::tquat<T, P> const & q
181 return detail::tquat<T, P>(q.w, -q.x, -q.y, -q.z);
185 GLM_FUNC_QUALIFIER detail::tquat<T, P> inverse
187 detail::tquat<T, P> const & q
196 // tquat<valType> operators
199 GLM_FUNC_QUALIFIER tquat<T, P> & tquat<T, P>::operator +=
201 tquat<T, P> const & q
212 GLM_FUNC_QUALIFIER tquat<T, P> & tquat<T, P>::operator *=
214 tquat<T, P> const & q
217 tquat<T, P> const p(*this);
227 GLM_FUNC_QUALIFIER tquat<T, P> & tquat<T, P>::operator *=
240 GLM_FUNC_QUALIFIER tquat<T, P> & tquat<T, P>::operator /=
253 // tquat<T, P> external functions
256 struct compute_dot<tquat, T, P>
258 static T call(tquat<T, P> const & x, tquat<T, P> const & y)
266 // tquat<T, P> external operators
269 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator-
271 detail::tquat<T, P> const & q
274 return detail::tquat<T, P>(-q.w, -q.x, -q.y, -q.z);
278 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator+
280 detail::tquat<T, P> const & q,
281 detail::tquat<T, P> const & p
284 return detail::tquat<T, P>(q) += p;
288 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator*
290 detail::tquat<T, P> const & q,
291 detail::tquat<T, P> const & p
294 return detail::tquat<T, P>(q) *= p;
301 detail::tquat<T, P> const & q,
321 detail::tquat<T, P> const & q
330 detail::tquat<T, P> const & q,
341 detail::tquat<T, P> const & q
348 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator*
350 detail::tquat<T, P> const & q,
354 return detail::tquat<T, P>(
359 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator*
362 detail::tquat<T, P> const & q
369 GLM_FUNC_QUALIFIER detail::tquat<T, P> operator/
371 detail::tquat<T, P> const & q,
375 return detail::tquat<T, P>(
385 detail::tquat<T, P> const & q1,
386 detail::tquat<T, P> const & q2
395 detail::tquat<T, P> const & q1,
396 detail::tquat<T, P> const & q2
408 detail::tquat<T, P> const & q
415 GLM_FUNC_QUALIFIER detail::tquat<T, P> normalize
417 detail::tquat<T, P> const & q
422 return detail::tquat<T, P>(1, 0, 0, 0);
424 …return detail::tquat<T, P>(q.w * oneOverLen, q.x * oneOverLen, q.y * oneOverLen, q.z * oneOverLen);
428 GLM_FUNC_QUALIFIER detail::tquat<T, P> cross
430 detail::tquat<T, P> const & q1,
431 detail::tquat<T, P> const & q2
434 return detail::tquat<T, P>(
443 GLM_FUNC_QUALIFIER detail::tquat<T, P> mix
445 detail::tquat<T, P> const & x,
446 detail::tquat<T, P> const & y,
454 detail::tquat<T, P> y2(y); //BUG!!! tquat<T, P> y2;
477 return detail::tquat<T, P>(
485 GLM_FUNC_QUALIFIER detail::tquat<T, P> mix2
487 detail::tquat<T, P> const & x,
488 detail::tquat<T, P> const & y,
523 GLM_FUNC_QUALIFIER detail::tquat<T, P> mix
525 detail::tquat<T, P> const & x,
526 detail::tquat<T, P> const & y,
536 return detail::tquat<T, P>(
551 GLM_FUNC_QUALIFIER detail::tquat<T, P> lerp
553 detail::tquat<T, P> const & x,
554 detail::tquat<T, P> const & y,
566 GLM_FUNC_QUALIFIER detail::tquat<T, P> slerp
568 detail::tquat<T, P> const & x,
569 detail::tquat<T, P> const & y,
573 detail::tquat<T, P> z = y;
589 return detail::tquat<T, P>(
604 GLM_FUNC_QUALIFIER detail::tquat<T, P> rotate
606 detail::tquat<T, P> const & q,
631 return q * detail::tquat<T, P>(cos(AngleRad * T(0.5)), Tmp.x * Sin, Tmp.y * Sin, Tmp.z * Sin);
632 …//return gtc::quaternion::cross(q, detail::tquat<T, P>(cos(AngleRad * T(0.5)), Tmp.x * fSin, Tmp.y…
638 detail::tquat<T, P> const & x
647 detail::tquat<T, P> const & q
661 detail::tquat<T, P> const & q
675 detail::tquat<T, P> const & q
689 detail::tquat<T, P> const & q
720 detail::tquat<T, P> const & q
727 GLM_FUNC_QUALIFIER detail::tquat<T, P> quat_cast
758 detail::tquat<T, P> Result;
794 GLM_FUNC_QUALIFIER detail::tquat<T, P> quat_cast
805 detail::tquat<T, P> const & x
819 detail::tquat<T, P> const & x
830 GLM_FUNC_QUALIFIER detail::tquat<T, P> angleAxis
836 detail::tquat<T, P> result;
856 detail::tquat<T, P> const & x,
857 detail::tquat<T, P> const & y
869 detail::tquat<T, P> const & x,
870 detail::tquat<T, P> const & y
882 detail::tquat<T, P> const & x,
883 detail::tquat<T, P> const & y
895 detail::tquat<T, P> const & x,
896 detail::tquat<T, P> const & y
908 detail::tquat<T, P> const & x,
909 detail::tquat<T, P> const & y
921 detail::tquat<T, P> const & x,
922 detail::tquat<T, P> const & y