CF_V4¶
Category: math
GitHub: cute_math3d.h
A 4d vector, typically a homogeneous point or a color.
| Struct Members | Description |
|---|---|
float x |
The x component. |
float y |
The y component. |
float z |
The z component. |
float w |
The w component. |
Remarks¶
Construct one with cf_v4, which splats a single argument or takes all four:
The C++ API uses V4(x, y, z, w). Use cf_v4_from_v3 to extend a CF_V3 with an
explicit w, and cf_xyz to truncate back down.