Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of spatial test macros #1823

Open
sprunk opened this issue Dec 17, 2024 · 0 comments
Open

Get rid of spatial test macros #1823

sprunk opened this issue Dec 17, 2024 · 0 comments
Labels
good first issue Good for newcomers refactor Internal code cleanup; paying off technical debt; janitorial work.

Comments

@sprunk
Copy link
Collaborator

sprunk commented Dec 17, 2024

Refactor these into something less ugly.

#define RECTANGLE_TEST \
const float x = p.x; \
const float z = p.z; \
if ((x < xmin) || (x > xmax)) { \

#define BOX_TEST_FULL \
BOX_TEST \
RECTANGLE_TEST

@sprunk sprunk added good first issue Good for newcomers refactor Internal code cleanup; paying off technical debt; janitorial work. labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers refactor Internal code cleanup; paying off technical debt; janitorial work.
Projects
None yet
Development

No branches or pull requests

1 participant