Home
last modified time | relevance | path

Searched refs:quat_traits (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/boost/qvm/
Dquat_operations.hpp66 to_string(quat_traits<A>::template read_element<0>(a))+','+ in to_string()
67 to_string(quat_traits<A>::template read_element<1>(a))+','+ in to_string()
68 to_string(quat_traits<A>::template read_element<2>(a))+','+ in to_string()
69 to_string(quat_traits<A>::template read_element<3>(a))+')'; in to_string()
81 typedef typename quat_traits<A>::scalar_type T; in cmp()
82 typedef typename quat_traits<B>::scalar_type U; in cmp()
85 quat_traits<A>::template read_element<0>(a), in cmp()
86 quat_traits<A>::template read_element<1>(a), in cmp()
87 quat_traits<A>::template read_element<2>(a), in cmp()
88 quat_traits<A>::template read_element<3>(a) in cmp()
[all …]
Dquat_access.hpp54 typedef typename quat_traits<Q>::scalar_type scalar_type;
65 return quat_traits<Q>::template read_element<I+1>( reinterpret_cast<Q const &>(q) ); in read_element()
76 return quat_traits<Q>::template write_element<I+1>( reinterpret_cast<Q &>(q) ); in write_element()
84 typedef vec<typename quat_traits<Q>::scalar_type,D> type;
91 typedef vec<typename quat_traits<Q>::scalar_type,D> type;
114 … enable_if_c<is_quat<Q>::value,typename quat_traits<Q>::scalar_type>::type S( Q const & a ) { retu… in S()
115 … enable_if_c<is_quat<Q>::value,typename quat_traits<Q>::scalar_type>::type X( Q const & a ) { retu… in X()
116 … enable_if_c<is_quat<Q>::value,typename quat_traits<Q>::scalar_type>::type Y( Q const & a ) { retu… in Y()
117 … enable_if_c<is_quat<Q>::value,typename quat_traits<Q>::scalar_type>::type Z( Q const & a ) { retu… in Z()
119 …me enable_if_c<is_quat<Q>::value,typename quat_traits<Q>::scalar_type &>::type S( Q & a ) { return… in S()
[all …]
Dquat_traits_array.hpp22 quat_traits<T[D]> struct
28 quat_traits<T[D][4]> struct
34 quat_traits<T[4][D]> struct
40 quat_traits<T[4][4]> struct
46 quat_traits<T[M][N]> struct
53 quat_traits<T[4]> struct
Dquat_vec_operations.hpp29 typedef typename quat_traits<A>::scalar_type TA; in operator *()
31 TA const aa = quat_traits<A>::template read_element<0>(a); in operator *()
32 TA const ab = quat_traits<A>::template read_element<1>(a); in operator *()
33 TA const ac = quat_traits<A>::template read_element<2>(a); in operator *()
34 TA const ad = quat_traits<A>::template read_element<3>(a); in operator *()
Dquat_traits.hpp17 quat_traits struct
44 …static bool const value=!is_quaternion_detail::is_void<typename quat_traits<T>::scalar_type>::valu…
Dquat_traits_defaults.hpp19 struct quat_traits;
34 … return quat_traits<quat_type>::template write_element<I>(const_cast<quat_type &>(x)); in read_element()
Dquat.hpp34 struct quat_traits;
38 quat_traits< quat<T> > struct
Dscalar_traits.hpp72 typedef typename quat_traits<A>::scalar_type type;
/third_party/boost/libs/qvm/test/
Dquat_traits_array_test.cpp25 BOOST_TEST(quat_traits<T>::template read_element<0>(q)==ptr[0]); in test_ref_cast()
26 BOOST_TEST(quat_traits<T>::template read_element<1>(q)==ptr[1]); in test_ref_cast()
27 BOOST_TEST(quat_traits<T>::template read_element<2>(q)==ptr[2]); in test_ref_cast()
28 BOOST_TEST(quat_traits<T>::template read_element<3>(q)==ptr[3]); in test_ref_cast()
29 BOOST_TEST(&quat_traits<T>::template write_element<0>(q)==&ptr[0]); in test_ref_cast()
30 BOOST_TEST(&quat_traits<T>::template write_element<1>(q)==&ptr[1]); in test_ref_cast()
31 BOOST_TEST(&quat_traits<T>::template write_element<2>(q)==&ptr[2]); in test_ref_cast()
32 BOOST_TEST(&quat_traits<T>::template write_element<3>(q)==&ptr[3]); in test_ref_cast()
47 same_type<quat_traits<int[4]>::scalar_type,int>(); in main()
51 BOOST_TEST((quat_traits<int[4]>::read_element<0>(arr)==0)); in main()
[all …]
Daccess_q_fail.cpp19 quat_traits<my_quat> struct
Dtest_qvm_quaternion.hpp48 quat_traits< test_qvm::quaternion<Tag,T> >: struct
Dinterop_test.cpp146 quat_traits<my_stuff::quat> struct
/third_party/boost/boost/qvm/detail/
Dquat_assign.hpp26quat_traits<A>::template write_element<0>(a) = quat_traits<B>::template read_element<0>(b); in assign()
27quat_traits<A>::template write_element<1>(a) = quat_traits<B>::template read_element<1>(b); in assign()
28quat_traits<A>::template write_element<2>(a) = quat_traits<B>::template read_element<2>(b); in assign()
29quat_traits<A>::template write_element<3>(a) = quat_traits<B>::template read_element<3>(b); in assign()
/third_party/boost/libs/qvm/doc/
Dqvm.adoc60 …ny suitable type that has been registered by specializing the <<quat_traits,`quat_traits`>>, <<vec…
135 …ion types are similarly introduced to QVM by specializing the <<quat_traits,`quat_traits`>> templa…
141 …pp,`boost/qvm/mat_traits_array.hpp`>> QVM defines appropriate <<quat_traits,`quat_traits`>>, <<vec…
359 | Quaternion traits |#include <boost/qvm/quat_traits.hpp>
541 The expression <<quat_traits,`quat_traits<T>::scalar_type`>> evaluates to the scalar type of the qu…
554 .#include <boost/qvm/quat_traits.hpp>
569 …er a type `T` is a quaternion type. For quaternion types, the <<quat_traits,`quat_traits`>> templa…
573 [[quat_traits]] anchor
574 ==== `quat_traits`
576 .#include <boost/qvm/quat_traits.hpp>
[all …]
/third_party/boost/boost/qvm/gen/
Dmat_operations3.hpp1131 T const a=quat_traits<A>::template read_element<0>(q); in convert_to()
1132 T const b=quat_traits<A>::template read_element<1>(q); in convert_to()
1133 T const c=quat_traits<A>::template read_element<2>(q); in convert_to()
1134 T const d=quat_traits<A>::template read_element<3>(q); in convert_to()
Dmat_operations4.hpp1227 T const a=quat_traits<A>::template read_element<0>(q); in convert_to()
1228 T const b=quat_traits<A>::template read_element<1>(q); in convert_to()
1229 T const c=quat_traits<A>::template read_element<2>(q); in convert_to()
1230 T const d=quat_traits<A>::template read_element<3>(q); in convert_to()