MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / drawContactPoint

Function drawContactPoint

examples/ExampleBrowser/OpenGLGuiHelper.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 virtual void drawContactPoint(const btVector3& PointOnB, const btVector3& normalOnB, btScalar distance, int lifeTime, const btVector3& color)
86 {
87 drawLine(PointOnB, PointOnB + normalOnB * distance, color);
88 btVector3 ncolor(0, 0, 0);
89 drawLine(PointOnB, PointOnB + normalOnB * 0.01, ncolor);
90 }
91
92 virtual void reportErrorWarning(const char* warningString)
93 {

Callers

nothing calls this directly

Calls 1

drawLineFunction · 0.70

Tested by

no test coverage detected