Describe the feature you would like
Replacing these constants with inlines would make code more readable and help eliminate casting and compiler warnings.
becomes
CCLib::radiansToDegrees( phi )
(Move strategy here from comment below.)
Because this touches a lot of math, I'm going to do this in multiple steps so it can be reviewed more easily.
Describe the feature you would like
Replacing these constants with inlines would make code more readable and help eliminate casting and compiler warnings.
becomes
CCLib::radiansToDegrees( phi )(Move strategy here from comment below.)
Because this touches a lot of math, I'm going to do this in multiple steps so it can be reviewed more easily.
RAD_TO_DEGas deprecated, and commit CCCoreLibDEG_TO_RADas deprecated and commit CCCoreLibZERO_TOLERANCEas deprecated and commit CCCoreLibRAD_TO_DEG,DEG_TO_RAD, andZERO_TOLERANCE