Saga
Saga Game Engine
|
Data on a bounded triangle, which includes the triangle itself and its BoundingBox. More...
#include <bvh.h>
Public Member Functions | |
void | computeBound () |
Recompute the bounding box of the triangle inside the data field. Call this function after assigning data to this BoundedShapeData. | |
Public Attributes | |
BoundingBox | box |
triangle's bounding box. | |
TriangleData | data |
triangle's information. | |
Data on a bounded triangle, which includes the triangle itself and its BoundingBox.
void Saga::BoundingVolumeHierarchy::BoundedShapeData::computeBound | ( | ) |
Recompute the bounding box of the triangle inside the data field. Call this function after assigning data to this BoundedShapeData.
BoundingBox Saga::BoundingVolumeHierarchy::BoundedShapeData::box |
triangle's bounding box.
TriangleData Saga::BoundingVolumeHierarchy::BoundedShapeData::data |
triangle's information.