cf_mul_sc¶
Category: math
GitHub: cute_math.h
Composes two rotations, returning the rotation equivalent to applying b then a.
CF_SinCos cf_mul_sc(CF_SinCos a, CF_SinCos b) { CF_SinCos c; c.c = a.c * b.c - a.s * b.s; c.s = a.s * b.c + a.c * b.s; return c; }