Saga
Saga Game Engine
Loading...
Searching...
No Matches
Saga::BoundingVolumeHierarchy::BoundedShapeData Struct Reference

Data on a bounded triangle, which includes the triangle itself and its BoundingBox. More...

#include <bvh.h>

Collaboration diagram for Saga::BoundingVolumeHierarchy::BoundedShapeData:

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.
 

Detailed Description

Data on a bounded triangle, which includes the triangle itself and its BoundingBox.

Member Function Documentation

◆ computeBound()

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.

Here is the call graph for this function:

Member Data Documentation

◆ box

BoundingBox Saga::BoundingVolumeHierarchy::BoundedShapeData::box

triangle's bounding box.

◆ data

TriangleData Saga::BoundingVolumeHierarchy::BoundedShapeData::data

triangle's information.


The documentation for this struct was generated from the following files: