MCPcopy Create free account
hub / github.com/cinder/Cinder / DrawSolidCircle

Method DrawSolidCircle

samples/FallingGears/src/Box2dUtils.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void DebugDraw::DrawSolidCircle( const b2Vec2 &center, float32 radius, const b2Vec2 &axis, const b2Color &color )
71{
72 gl::color( toCinder( color ) );
73 gl::drawSolidCircle( toCinder( center ), radius, NUM_CIRCLE_SEGMENTS );
74}
75
76void DebugDraw::DrawSegment( const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color )
77{

Callers 1

DrawShapeMethod · 0.80

Calls 3

toCinderFunction · 0.85
drawSolidCircleFunction · 0.85
colorFunction · 0.50

Tested by

no test coverage detected