Public Member Functions | |
CollisionBvh (const Eegeo::dv3 &originEcef, const v3 &quantizationRelativeOrigin, float quantizationScale, float minAltitude, float maxAltitude, CollisionGroup::Type collisionGroup, bool counterClockwiseWinding, const std::vector< Rendering::VertexTypes::ShortPositionVertex > *pPoints, const std::vector< u16 > *pTriListIndices, const std::vector< CollisionBvhNode > *pNodes, const std::vector< CollisionMaterialIndexLookupPair > *pMaterialIndexLookupPairs, const CollisionMaterialTable *pCollisionMaterialTable) | |
const dv3 & | OriginEcef () const |
const v3 & | QuantizationRelativeOrigin () const |
float | QuantizationScale () const |
CollisionGroup::Type | CollisionGroup () const |
bool | IsCounterClockwiseWinding () const |
const std::vector < Rendering::VertexTypes::ShortPositionVertex > & | QuantizedPoints () const |
const std::vector< u16 > & | TriListIndices () const |
const std::vector < CollisionBvhNode > & | Nodes () const |
const std::vector < CollisionMaterialIndexLookupPair > & | MaterialIndexLookupPairs () const |
int | FindMeshIndexForTriangle (int triangleIndex) const |
const float | MinAltitude () const |
const float | MaxAltitude () const |
v3 | GetInflatedPoint (int vertexIndex) const |
Eegeo::Geometry::SingleSphere | GetSphere (const CollisionBvhNode &node) const |
std::string | CollisionMaterialIdForIndex (int materialIndex) const |
std::vector< u16 > | GatherTriListIndicesForMaterialIndex (const int materialIndex) const |
const CollisionMaterialTable & | GetCollisionMaterialTable () const |