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