Skip to content

cf_from_angle

Category: math
GitHub: cute_math.h


returns a vector according to the sin/cos of radians.

CF_V2 cf_from_angle(float radians) { return cf_v2(CF_COSF(radians), CF_SINF(radians)); }

cf_shortest_arc
cf_angle_diff