Skip to content

Remove unused safe_acos macro#9

Open
peterkutz wants to merge 1 commit intomainfrom
pkutz/cleanup
Open

Remove unused safe_acos macro#9
peterkutz wants to merge 1 commit intomainfrom
pkutz/cleanup

Conversation

@peterkutz
Copy link
Collaborator

The safe_acos macro is unused because the clamp that it performs is inlined into the code. If a clamped acos were done in multiple places it might make sense to keep the macro (potentially changing it to a function and updating it to use f suffixes on the float literals so it can be compiled as C++ without type mismatches), however it's only done in once place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants