|
|
|
@ -796,12 +796,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'lessThan', GLM vector types required"); |
|
|
|
|
GLM_STATIC_ASSERT(detail::is_bool<T>::_NO, |
|
|
|
|
"Invalid template instantiation of 'lessThan', GLM vector types required floating-point or integer value types vectors"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] < y[i]; |
|
|
|
@ -816,12 +810,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'lessThanEqual', GLM vector types required"); |
|
|
|
|
GLM_STATIC_ASSERT(detail::is_bool<T>::_NO, |
|
|
|
|
"Invalid template instantiation of 'lessThanEqual', GLM vector types required floating-point or integer value types vectors"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] <= y[i]; |
|
|
|
@ -835,12 +823,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'greaterThan', GLM vector types required"); |
|
|
|
|
GLM_STATIC_ASSERT(detail::is_bool<T>::_NO, |
|
|
|
|
"Invalid template instantiation of 'greaterThan', GLM vector types required floating-point or integer value types vectors"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] > y[i]; |
|
|
|
@ -854,12 +836,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'greaterThanEqual', GLM vector types required"); |
|
|
|
|
GLM_STATIC_ASSERT(detail::is_bool<T>::_NO, |
|
|
|
|
"Invalid template instantiation of 'greaterThanEqual', GLM vector types required floating-point or integer value types vectors"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] >= y[i]; |
|
|
|
@ -873,10 +849,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'equal', GLM vector types required"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] == y[i]; |
|
|
|
@ -890,10 +862,6 @@ namespace detail |
|
|
|
|
detail::tquat<T, P> const & y |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
//GLM_STATIC_ASSERT(detail::is_vector<vecType<T, P> >::_YES, |
|
|
|
|
// "Invalid template instantiation of 'notEqual', GLM vector types required"); |
|
|
|
|
assert(x.length() == y.length()); |
|
|
|
|
|
|
|
|
|
typename detail::tquat<T, P>::bool_type Result(detail::tquat<T, P>::null); |
|
|
|
|
for(typename detail::tquat<T, P>::size_type i = 0; i < x.length(); ++i) |
|
|
|
|
Result[i] = x[i] != y[i]; |
|
|
|
|