|
TexGen
|
Struct for representing a quaternion. More...
#include <mymath.h>
Public Member Functions | |
| WXYZ () | |
| Set all coordinates to 0 as default constructor. More... | |
| WXYZ (double W, double X, double Y, double Z) | |
| Set coordinates to those specified in the constructor. More... | |
| WXYZ (double Coords[4]) | |
| Set coordinates to those specified in the constructor. More... | |
| WXYZ (XYZ Axis, double dAngle) | |
| Create rotation with axis and angle (radians) More... | |
| WXYZ (XYZ X, XYZ Y, XYZ Z) | |
| Create rotation with new coordinate system. More... | |
| WXYZ (double dAzimuth, double dElevation, double dTilt) | |
| Create rotation with 3 rotation angles (radians) More... | |
Public Attributes | |
| double | w |
| double | x |
| double | y |
| double | z |
|
inline |
|
inline |
|
inline |
|
inline |
Create rotation with axis and angle (radians)
Create a rotation Quaternion out of a normalised Axis and angle.
Definition at line 653 of file mymath.h.
References w, x, TexGen::XYZ::x, y, TexGen::XYZ::y, z, and TexGen::XYZ::z.
Create rotation with new coordinate system.
Create a rotation Quaternion out of a new coordinate system.
Definition at line 663 of file mymath.h.
References w, x, TexGen::XYZ::x, y, TexGen::XYZ::y, z, and TexGen::XYZ::z.
|
inline |
Create rotation with 3 rotation angles (radians)
Create a rotation Quaternion out of euler angles.
Rotations are applied in the following order: dAzimuth, dElevation, dTilt
| dAzimuth | Rotation about z axis |
| dElevation | Rotation about y axis |
| dTilt | Rotation about x axis |
| double TexGen::WXYZ::w |
Definition at line 39 of file mymath.h.
Referenced by TexGen::ConvertRotation(), TexGen::GetLength(), TexGen::operator*(), TexGen::operator*=(), TexGen::operator+(), TexGen::operator+=(), TexGen::operator-(), TexGen::operator-=(), TexGen::operator/=(), TexGen::operator<<(), TexGen::operator>>(), and WXYZ().
| double TexGen::WXYZ::x |
Definition at line 39 of file mymath.h.
Referenced by TexGen::ConvertRotation(), TexGen::GetLength(), TexGen::operator*(), TexGen::operator*=(), TexGen::operator+(), TexGen::operator+=(), TexGen::operator-(), TexGen::operator-=(), TexGen::operator/=(), TexGen::operator<<(), TexGen::operator>>(), and WXYZ().
| double TexGen::WXYZ::y |
Definition at line 39 of file mymath.h.
Referenced by TexGen::ConvertRotation(), TexGen::GetLength(), TexGen::operator*(), TexGen::operator*=(), TexGen::operator+(), TexGen::operator+=(), TexGen::operator-(), TexGen::operator-=(), TexGen::operator/=(), TexGen::operator<<(), TexGen::operator>>(), and WXYZ().
| double TexGen::WXYZ::z |
Definition at line 39 of file mymath.h.
Referenced by TexGen::ConvertRotation(), TexGen::GetLength(), TexGen::operator*(), TexGen::operator*=(), TexGen::operator+(), TexGen::operator+=(), TexGen::operator-(), TexGen::operator-=(), TexGen::operator/=(), TexGen::operator<<(), TexGen::operator>>(), and WXYZ().