8#if __has_include("defs.h")
22 RotMat (
double rx,
double ry,
double rz);
34 void rotate (
double& x,
double& y,
double& z)
const;
37 void rotate (
double* vec)
const;
44 void multiply (
double m[3][3]);
3D Rotation Calculator
Definition rotmat.h:16
void y_rotation(double angle)
Rotation by Y (pitch) axis.
Definition rotmat.cpp:40
void z_rotation(double angle)
Rotation by Z (yaw) axis.
Definition rotmat.cpp:48
RotMat()
Build an identity rotation matrix.
Definition rotmat.cpp:12
double(& matrix())[3]
Return reference to rotation matrix (3x3)
Definition rotmat.h:47
void x_rotation(double angle)
Rotation by X (roll) axis.
Definition rotmat.cpp:32
void rotate(double &x, double &y, double &z) const
Rotate a 3D point.
Definition rotmat.cpp:69