Skip to content

cf_mul_m32_v2

Category: math
GitHub: cute_math.h


Transforms point b by the 3x2 (affine) matrix a.

CF_V2 cf_mul_m32_v2(CF_M3x2 a, CF_V2 b) { return cf_add(cf_mul_m2_v2(a.m, b), a.p); }

cf_mul
CF_M3x2
cf_mul_m32