Skip to content

cf_mul_v2_f

Category: math
GitHub: cute_math.h


Scales vector a by scalar b, component-wise.

CF_V2 cf_mul_v2_f(CF_V2 a, float b) { return cf_v2(a.x * b, a.y * b); }

cf_mul
CF_V2
cf_div_v2_f