Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
size_t CollisionMesh::GetNumTriangles() const
69
{
70
return static_cast<size_t>(mIBuffer->GetNumPrimitives());
71
}
72
73
bool CollisionMesh::GetTriangle(size_t t, std::array<int32_t, 3>& indices) const
74
{
Callers
2
TestIntersection
Method · 0.45
FindIntersection
Method · 0.45
Calls
1
GetNumPrimitives
Method · 0.80
Tested by
1
TestIntersection
Method · 0.36