Protofall / Crayon-Game-Framework

My own library for making games on the Dreamcast
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Crayon: Store radians instead of degrees #248

Open Protofall opened 3 years ago

Protofall commented 3 years ago

Currently we store the rotation info in degrees which means we need to convert (And hence divide) into radians. Divisions are costly so is it worth storing rotation in terms of radians instead? Because we have 32-bit floats we might lose precision, but I think it is fine.