|
ObjectivelyGPU
Object oriented graphics framework for SDL3 and C
|
Four-component single-precision vector. Component layout matches GLSL vec4. More...
#include <Mathlib.h>
Data Fields | |
| float | xyzw [4] |
| Array accessor. | |
| struct { | |
| float x | |
| float y | |
| float z | |
| float w | |
| }; | |
| Component accessors. | |
| vec3 | xyz |
| Swizzle to vec3. | |
| struct { | |
| vec2 xy | |
| vec2 zw | |
| }; | |
| Swizzles to vec2. | |
Four-component single-precision vector. Component layout matches GLSL vec4.
| struct { ... } vec4 |
Component accessors.
| float vec4::w |
| float vec4::x |
| vec2 vec4::xy |
| float vec4::xyzw[4] |
Array accessor.
| float vec4::y |
| float vec4::z |
| vec2 vec4::zw |