|
| Angles (float pitch, float yaw, float roll) |
| Constructor for building angles (pitch, yaw, roll) = (0, 0, 0). Подробнее...
|
|
| operator Mat3 () const |
| Ability for converting Angles to Mat3 . Подробнее...
|
|
| operator Mat4 () const |
| Ability for converting Angles to Mat4 . Подробнее...
|
|
| operator Quat () const |
| Ability for converting Angles to Quat . Подробнее...
|
|
| operator std::string () const |
| Ability for converting Angles to string . Подробнее...
|
|
bool | operator== (const Angles &b) const |
| Comparison. Подробнее...
|
|
Angles & | operator() (int i, float v) |
| Setter like array.
[ 0 ] is pitch
[ 1 ] is yaw
[ 2 ] is roll
. Подробнее...
|
|
float | operator() (int i) const |
| Getter like array. Подробнее...
|
|
Angles & | pitch (const float &v) |
| Setter for pitch. Подробнее...
|
|
float | pitch () const |
| Getter for pitch. Подробнее...
|
|
Angles & | yaw (const float &v) |
| Setter for yaw. Подробнее...
|
|
float | yaw () const |
| Getter for yaw. Подробнее...
|
|
Angles & | roll (const float &v) |
| Setter for roll. Подробнее...
|
|
float | roll () const |
| Getter for roll. Подробнее...
|
|
Angles | operator- () const |
| Negation operator. Подробнее...
|
|
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]. Подробнее...
|
|
Angles | clampCopy (const Angles &min, const Angles &max) const |
|
Angles & | lerp (const Angles &b, float s) |
| Interpolates between angles, using linear interpolation. Подробнее...
|
|
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.
- Начиная с
- 4.5.32