cf_make_identity¶
Category: math
GitHub: cute_math.h
Returns an identity CF_M3x2.
CF_M3x2 cf_make_identity(void) { CF_M3x2 m; m.m.x = cf_v2(1, 0); m.m.y = cf_v2(0, 1); m.p = cf_v2(0, 0); return m; }
Related Pages¶
CF_M3x2
cf_mul_m32_v2
cf_mul_m32
cf_invert
cf_make_translation
cf_make_scale
cf_make_scale_translation
cf_make_rotation
cf_make_transform_TSR