QcEntityMesher::Rotate Struct
struct QcEntityMesher::RotateRotation around the X axis (positive moves -Y towards -Z), then around Z (positive moves -Y towards +X) and then around Y (positive moves -Z towards +X), all in degrees. More...
| Header: | #include <clientcore/entitymeshes/QcMeshRotation.h> |
Public Functions
| QcVec3 | operator()(const QcVec3 &p) const |
Public Variables
Detailed Description
Sine and cosine are taken once, not per vertex.
Member Function Documentation
QcVec3 Rotate::operator()(const QcVec3 &p) const
Returns point p rotated.
Member Variable Documentation
double Rotate::cosPitch
Cosine of the rotation around X.
double Rotate::cosRoll
Cosine of the rotation around Z.
double Rotate::cosYaw
Cosine of the rotation around Y.
double Rotate::sinPitch
Sine of the rotation around X.
double Rotate::sinRoll
Sine of the rotation around Z.
double Rotate::sinYaw
Sine of the rotation around Y.