cf_sincos_to_b2¶
Category: physics
GitHub: cute_physics.h
Converts a CF_SinCos rotation to a b2Rot.
Remarks¶
These are NOT bit-identical: CF_SinCos stores {sin, cos} while b2Rot
stores {cos, sin}. Casting one to the other transposes the rotation --
always convert through this function.