|
group2 0.1.0
CSE 125 Group 2
|
A single BVH node for spatial acceleration of triangle meshes. More...
#include <SweptCollision.hpp>
Public Attributes | |
| glm::vec3 | boundsMin |
| AABB minimum corner. | |
| glm::vec3 | boundsMax |
| AABB maximum corner. | |
| int | leftFirst |
| If leaf: index into triIndices[]. If interior: left child index. | |
| int | count |
| >0 → leaf with count triangles. 0 → interior node. | |
A single BVH node for spatial acceleration of triangle meshes.
| glm::vec3 physics::BVHNode::boundsMax |
AABB maximum corner.
| glm::vec3 physics::BVHNode::boundsMin |
AABB minimum corner.
| int physics::BVHNode::count |
>0 → leaf with count triangles. 0 → interior node.
| int physics::BVHNode::leftFirst |
If leaf: index into triIndices[]. If interior: left child index.