-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature you would like
Replacing these constants with inlines would make code more readable and help eliminate casting and compiler warnings.
CCLib::CC_RAD_TO_DEG*phi
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.
- Add CCMath.h, mark
RAD_TO_DEG
as deprecated, and commit CCCoreLib - Change all occurrences in CloudCompare and wait for code review
- Mark
DEG_TO_RAD
as deprecated and commit CCCoreLib - Change all occurrences in CloudCompare and wait for code review
- Mark
ZERO_TOLERANCE
as deprecated and commit CCCoreLib - Change all occurrences in CloudCompare and wait for code review
- Once everything is converted, remove
RAD_TO_DEG
,DEG_TO_RAD
, andZERO_TOLERANCE
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request