Skip to content

cf_xyz

Category: math
GitHub: cute_math3d.h


Truncates a CF_V4 to its xyz components.

CF_V3 cf_xyz(CF_V4 a) { return cf_v3(a.x, a.y, a.z); }
Parameters Description
a The 4d vector.

Return Value

Returns { a.x, a.y, a.z }.

CF_V3
CF_V4
cf_v4_from_v3