|
| Angles (float pitch, float yaw, float roll) |
| Constructor for building angles (pitch, yaw, roll) = (0, 0, 0). More...
|
|
| operator Mat3 () const |
| Ability for converting Angles to Mat3 . More...
|
|
| operator Mat4 () const |
| Ability for converting Angles to Mat4 . More...
|
|
| operator Quat () const |
| Ability for converting Angles to Quat . More...
|
|
| operator std::string () const |
| Ability for converting Angles to string . More...
|
|
bool | operator== (const Angles &b) const |
| Comparison. More...
|
|
Angles & | operator() (int i, float v) |
| Setter like array.
[ 0 ] is pitch
[ 1 ] is yaw
[ 2 ] is roll
. More...
|
|
float | operator() (int i) const |
| Getter like array. More...
|
|
Angles & | pitch (const float &v) |
| Setter for pitch. More...
|
|
float | pitch () const |
| Getter for pitch. More...
|
|
Angles & | yaw (const float &v) |
| Setter for yaw. More...
|
|
float | yaw () const |
| Getter for yaw. More...
|
|
Angles & | roll (const float &v) |
| Setter for roll. More...
|
|
float | roll () const |
| Getter for roll. More...
|
|
Angles | operator- () const |
| Negation operator. More...
|
|
Angles & | operator+= (const Angles &b) |
|
Angles & | operator-= (const Angles &b) |
|
Angles & | operator*= (const float &k) |
|
Angles & | operator/= (const float &k) |
|
Angles | operator+ (const Angles &b) const |
|
Angles | operator- (const Angles &b) const |
|
Angles | operator* (const float &k) const |
|
Angles | operator/ (const float &k) const |
|
Angles & | clamp (const Angles &min, const Angles &max) |
| Clamp values to diapason [min; max]. More...
|
|
Angles | clampCopy (const Angles &min, const Angles &max) const |
|
Angles & | lerp (const Angles &b, float s) |
| Interpolates between angles, using linear interpolation. More...
|
|
Angles | lerpCopy (const Angles &b, float s) const |
|
Angles & | normalize180 () |
| Normalize angles to 180 degree.
|
|
Angles | normalize180Copy () const |
|
Angles & | normalize360 () |
| Normalize angles to 360 degree.
|
|
Angles | normalize360Copy () const |
|
Angles & | round () |
| Round angles to integer.
|
|
Angles | roundCopy () const |
|
Vec3 | forward () const |
| Extract a forward-vector.
|
|
Vec3 | right () const |
| Extract a right-vector.
|
|
Vec3 | up () const |
| Extract an up-vector.
|
|
Class for working with Euler angles: pitch, yaw, roll.
- Since
- 4.5.32