|
|
|
@ -591,5 +591,28 @@ namespace detail |
|
|
|
|
m[3] - typename tmat4x2<T>::value_type(1)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
////////////////////////////////////// |
|
|
|
|
// Boolean operators |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
inline bool operator== |
|
|
|
|
( |
|
|
|
|
tmat4x2<T> const & m1, |
|
|
|
|
tmat4x2<T> const & m2 |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
return (m1[0] == m2[0]) && (m1[1] == m2[1]) && (m1[2] == m2[2]) && (m1[3] == m2[3]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
inline bool operator!= |
|
|
|
|
( |
|
|
|
|
tmat4x2<T> const & m1, |
|
|
|
|
tmat4x2<T> const & m2 |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
return (m1[0] != m2[0]) || (m1[1] != m2[1]) || (m1[2] != m2[2]) || (m1[3] != m2[3]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} //namespace detail |
|
|
|
|
} //namespace glm |
|
|
|
|