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

Include quad 4th point in bounds checking #45

Open
eheien opened this issue Feb 11, 2015 · 0 comments
Open

Include quad 4th point in bounds checking #45

eheien opened this issue Feb 11, 2015 · 0 comments

Comments

@eheien
Copy link
Contributor

eheien commented Feb 11, 2015

In the functions quakelib::ModelWorld::min_bound and quakelib::ModelWorld::max_bound (QuakeLibIO.cpp) bounds are checked using only the 3 vertices specified for an element. However, quad elements have an implicit 4th vertex that can be derived from the other 3. This vertex should be included in the bounds checking.

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

No branches or pull requests

1 participant