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

Method GetPosition

GTE/Graphics/CollisionMesh.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62Vector3<float> CollisionMesh::GetPosition(size_t i) const
63{
64 char const* vertex = mVBuffer->GetData() + i * mVertexSize;
65 return *reinterpret_cast<Vector3<float> const*>(vertex);
66}
67
68size_t CollisionMesh::GetNumTriangles() const
69{

Callers 15

OnCameraMotionMethod · 0.45
CreateModelBoundMethod · 0.45
ComputeMetricMethod · 0.45
CanCollapseMethod · 0.45
GetVisibleSetMethod · 0.45
WhichSideMethod · 0.45
UpdateWorldDataMethod · 0.45
SetViewVolumeMethod · 0.45
SelectLevelOfDetailMethod · 0.45
PushViewFrustumPlanesMethod · 0.45
MoveForwardMethod · 0.45
MoveBackwardMethod · 0.45

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected