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 · May be fixed by #2057
Open

Get rid of spatial test macros #1823

sprunk opened this issue Dec 17, 2024 · 0 comments · May be fixed by #2057
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
@Anstow Anstow linked a pull request Mar 23, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant