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

test bounding cube #21

Open
coldgemini opened this issue Sep 15, 2020 · 1 comment
Open

test bounding cube #21

coldgemini opened this issue Sep 15, 2020 · 1 comment

Comments

@coldgemini
Copy link

is there a way to test visibility of a bounding cube instead of testing all the composing triangles of the bounding cube??

Thanks

@DaviesLeigh
Copy link
Contributor

TestRect would be the preferred way.
An example of using this function is given in the companion sample https://github.com/GameTechDev/OcclusionCulling in the file https://github.com/GameTechDev/OcclusionCulling/blob/master/TransformedAABBoxAVX.cpp, look for function TransformAndPreTestAABBox line 165.

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

No branches or pull requests

2 participants