|
Lamp-Da 0.1
A compact lantern project
|
Transform a vector from a space to another. More...
#include <vector_math.h>
Public Member Functions | |
| TransformationMatrix ()=default | |
| Constructor. | |
| TransformationMatrix (const RotationMatrix &rot, const vec3d &trans) | |
| Constructor from rotation and translation. | |
| TransformationMatrix (const vec3d &euler, const vec3d &trans) | |
| Constructor from euler angles and translation. | |
| vec3d | transform (const vec3d &vec) const |
| Transform a vector by this transformation. | |
Public Attributes | |
| RotationMatrix | rotation |
| Rotation part of the matrix. | |
| vec3d | translation |
| translation part of the matrix | |
Transform a vector from a space to another.
Transform a vector by this transformation.
| [in] | vec | The vector to transform |