Mathter
A configurable 3D math library for game developers.
Classes | Namespaces | Functions
Rotation3DBuilder.hpp File Reference
#include "../Matrix/MatrixFunction.hpp"
#include "../Matrix/MatrixImpl.hpp"
#include "../Quaternion/QuaternionImpl.hpp"
#include "../Vector.hpp"
#include "IdentityBuilder.hpp"
#include <stdexcept>

Go to the source code of this file.

Classes

class  mathter::Rotation3DAxisBuilder< T >
 
class  mathter::Rotation3DTriAxisBuilder< T >
 
class  mathter::Rotation3DAxisAngleBuilder< T, Packed >
 

Namespaces

 mathter
 

Functions

template<class T >
auto mathter::RotationAxis (T angle, int axis)
 Rotates around coordinate axis. More...
 
template<int Axis, class T >
auto mathter::RotationAxis (T angle)
 Rotates around coordinate axis. More...
 
template<class T >
auto mathter::RotationX (T angle)
 Rotates around the X axis according to the right (left) hand rule. More...
 
template<class T >
auto mathter::RotationY (T angle)
 Rotates around the Y axis according to the right (left) hand rule. More...
 
template<class T >
auto mathter::RotationZ (T angle)
 Rotates around the Z axis according to the right (left) hand rule. More...
 
template<int FirstAxis, int SecondAxis, int ThirdAxis, class T >
auto mathter::RotationAxis3 (T angle0, T angle1, T angle2)
 Rotates around three axes in succession. More...
 
template<class T >
auto mathter::RotationEuler (T z1, T x2, T z3)
 Rotation matrix from Euler angles. Rotations are Z-X-Z. More...
 
template<class T >
auto mathter::RotationRPY (T x1, T y2, T z3)
 Rotation matrix from roll-pitch-yaw angles. Rotations are X-Y-Z. More...
 
template<class T , bool Vpacked, class U >
auto mathter::RotationAxisAngle (const Vector< T, 3, Vpacked > &axis, U angle)
 Rotates around an arbitrary axis. More...
 
template<class T , int Rows, int Columns, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
bool mathter::IsRotationMatrix3D (const Matrix< T, Rows, Columns, Order, Layout, Packed > &m)
 Determines if the matrix is a proper rotation matrix. More...