![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
#include <Vector4.hpp>
Public Member Functions | |
| Vector4 (::Color color) | |
| Vector4 (::Rectangle rectangle) | |
| Vector4 (const ::Vector4 &vec) | |
| Vector4 (float x) | |
| Vector4 (float x, float y) | |
| Vector4 (float x, float y, float z) | |
| Vector4 (float x, float y, float z, float w) | |
| Color | ColorFromNormalized () const |
| float | GetW () const |
| Retrieves the w value for the object. More... | |
| float | GetX () const |
| Retrieves the x value for the object. More... | |
| float | GetY () const |
| Retrieves the y value for the object. More... | |
| float | GetZ () const |
| Retrieves the z value for the object. More... | |
| Vector4 | Invert () const |
| float | Length () const |
| Vector4 | Lerp (const ::Vector4 &vector4, float amount) const |
| Vector4 | Multiply (const ::Vector4 &vector4) const |
| Vector4 | Nlerp (const ::Vector4 &vector4, float amount) const |
| Vector4 | Normalize () const |
| operator Color () const | |
| operator std::string () const | |
| bool | operator!= (const ::Vector4 &other) const |
| Vector4 | operator* (const ::Vector4 &vector4) const |
| operator::Rectangle () const | |
| Vector4 & | operator= (const ::Vector4 &vector4) |
| bool | operator== (const ::Vector4 &other) const |
| void | SetW (float value) |
| Sets the w value for the object. More... | |
| void | SetX (float value) |
| Sets the x value for the object. More... | |
| void | SetY (float value) |
| Sets the y value for the object. More... | |
| void | SetZ (float value) |
| Sets the z value for the object. More... | |
| Vector4 | Slerp (const ::Vector4 &vector4, float amount) const |
| std::pair< Vector3, Radian > | ToAxisAngle () const |
| Get the rotation angle and axis for a given quaternion. More... | |
| void | ToAxisAngle (::Vector3 *outAxis, float *outAngle) const |
| void | ToAxisAngle (::Vector3 *outAxis, Radian *outAngle) const |
| Vector3 | ToEuler () const |
| Matrix | ToMatrix () const |
| ::Rectangle | ToRectangle () const |
| std::string | ToString () const |
| Vector4 | Transform (const ::Matrix &matrix) const |
Static Public Member Functions | |
| static Vector4 | FromAxisAngle (const ::Vector3 &axis, const Radian angle) |
| static Vector4 | FromEuler (const ::Vector3 &vector3) |
| static Vector4 | FromEuler (const Degree pitch, const Degree yaw, const Degree roll) |
| static Vector4 | FromMatrix (const ::Matrix &matrix) |
| static Vector4 | FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to) |
| static Vector4 | Identity () |
Protected Member Functions | |
| void | set (const ::Vector4 &vec4) |
Vector4 type.
Definition at line 21 of file Vector4.hpp.
|
inline |
Definition at line 23 of file Vector4.hpp.
|
inline |
Definition at line 25 of file Vector4.hpp.
|
inline |
Definition at line 26 of file Vector4.hpp.
|
inline |
Definition at line 27 of file Vector4.hpp.
|
inline |
Definition at line 28 of file Vector4.hpp.
|
inline |
Definition at line 29 of file Vector4.hpp.
|
inline |
Definition at line 30 of file Vector4.hpp.
|
inline |
Definition at line 32 of file Vector4.hpp.
|
inline |
Definition at line 122 of file Vector4.hpp.
|
inlinestatic |
Definition at line 107 of file Vector4.hpp.
|
inlinestatic |
Definition at line 115 of file Vector4.hpp.
|
inlinestatic |
Definition at line 111 of file Vector4.hpp.
|
inlinestatic |
Definition at line 105 of file Vector4.hpp.
|
inlinestatic |
Definition at line 101 of file Vector4.hpp.
|
inline |
Retrieves the w value for the object.
Definition at line 37 of file Vector4.hpp.
|
inline |
Retrieves the x value for the object.
Definition at line 34 of file Vector4.hpp.
|
inline |
Retrieves the y value for the object.
Definition at line 35 of file Vector4.hpp.
|
inline |
Retrieves the z value for the object.
Definition at line 36 of file Vector4.hpp.
|
inlinestatic |
Definition at line 99 of file Vector4.hpp.
|
inline |
Definition at line 75 of file Vector4.hpp.
|
inline |
Definition at line 71 of file Vector4.hpp.
|
inline |
Definition at line 63 of file Vector4.hpp.
|
inline |
Definition at line 59 of file Vector4.hpp.
|
inline |
Definition at line 65 of file Vector4.hpp.
|
inline |
Definition at line 73 of file Vector4.hpp.
|
inline |
Definition at line 124 of file Vector4.hpp.
|
inline |
Definition at line 56 of file Vector4.hpp.
|
inline |
Definition at line 48 of file Vector4.hpp.
|
inline |
Definition at line 61 of file Vector4.hpp.
|
inline |
Definition at line 52 of file Vector4.hpp.
|
inline |
Definition at line 39 of file Vector4.hpp.
|
inline |
Definition at line 44 of file Vector4.hpp.
|
inlineprotected |
Definition at line 126 of file Vector4.hpp.
|
inline |
Sets the w value for the object.
| value | The value of which to set w to. |
Definition at line 37 of file Vector4.hpp.
|
inline |
Sets the x value for the object.
| value | The value of which to set x to. |
Definition at line 34 of file Vector4.hpp.
|
inline |
Sets the y value for the object.
| value | The value of which to set y to. |
Definition at line 35 of file Vector4.hpp.
|
inline |
Sets the z value for the object.
| value | The value of which to set z to. |
Definition at line 36 of file Vector4.hpp.
|
inline |
Definition at line 67 of file Vector4.hpp.
Get the rotation angle and axis for a given quaternion.
Definition at line 89 of file Vector4.hpp.
|
inline |
Definition at line 77 of file Vector4.hpp.
|
inline |
Definition at line 80 of file Vector4.hpp.
|
inline |
Definition at line 119 of file Vector4.hpp.
|
inline |
Definition at line 69 of file Vector4.hpp.
|
inline |
Definition at line 50 of file Vector4.hpp.
|
inline |
Definition at line 54 of file Vector4.hpp.
|
inline |
Definition at line 97 of file Vector4.hpp.