MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetNumTriangles

Method GetNumTriangles

GTE/Graphics/CollisionMesh.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68size_t CollisionMesh::GetNumTriangles() const
69{
70 return static_cast<size_t>(mIBuffer->GetNumPrimitives());
71}
72
73bool CollisionMesh::GetTriangle(size_t t, std::array<int32_t, 3>& indices) const
74{

Callers 2

TestIntersectionMethod · 0.45
FindIntersectionMethod · 0.45

Calls 1

GetNumPrimitivesMethod · 0.80

Tested by 1

TestIntersectionMethod · 0.36