![]() |
Onsens
1.0
This is C++ game about bitwise logic.
|
4D vector type, used to set uniforms in GLSL More...
Public Member Functions | |
Vector4 () | |
Default constructor, creates a zero vector. More... | |
Vector4 (T X, T Y, T Z, T W) | |
Construct from 4 vector components. More... | |
template<typename U > | |
Vector4 (const Vector4< U > &other) | |
Conversion constructor. More... | |
Vector4 (const Color &color) | |
Construct float vector implicitly from color. More... | |
Public Attributes | |
T | x |
1st component (X) of the 4D vector More... | |
T | y |
2nd component (Y) of the 4D vector More... | |
T | z |
3rd component (Z) of the 4D vector More... | |
T | w |
4th component (W) of the 4D vector More... | |
4D vector type, used to set uniforms in GLSL
T Vector4< T >::w |
T Vector4< T >::x |
T Vector4< T >::y |
T Vector4< T >::z |