Mathter
A configurable 3D math library for game developers.
Mathter
Quaternion
QuaternionCompare.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
QuaternionImpl.hpp
"
4
5
namespace
mathter
{
6
7
9
template
<
class
T,
bool
Packed>
10
bool
operator==
(
const
Quaternion<T, Packed>
& lhs,
const
Quaternion<T, Packed>
& rhs) {
11
return
lhs.
vec
== rhs.
vec
;
12
}
14
template
<
class
T,
bool
Packed>
15
bool
operator!=
(
const
Quaternion<T, Packed>
& lhs,
const
Quaternion<T, Packed>
& rhs) {
16
return
!(lhs == rhs);
17
}
18
19
}
// namespace mathter
mathter::operator!=
bool operator!=(const Matrix< T1, Rows, Columns, Order1, Layout1, Packed1 > &lhs, const Matrix< T2, Rows, Columns, Order2, Layout2, Packed2 > &rhs)
Definition:
MatrixCompare.hpp:19
mathter::Quaternion
Allows you to do quaternion math and represent rotation in a compact way.
Definition:
Definitions.hpp:69
mathter::operator==
bool operator==(const ApproxHelper< LinalgClass1 > &lhs, const LinalgClass2 &rhs)
Definition:
Approx.hpp:92
mathter
Definition:
Approx.hpp:11
mathter::Quaternion::vec
Vector< T, 4, Packed > vec
Definition:
QuaternionImpl.hpp:41
QuaternionImpl.hpp
Generated by
1.8.13