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

Method DrawCircle

samples/FallingGears/src/Box2dUtils.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void DebugDraw::DrawCircle( const b2Vec2 &center, float32 radius, const b2Color &color )
65{
66 gl::color( toCinder( color ) );
67 gl::drawStrokedCircle( toCinder( center ), radius, NUM_CIRCLE_SEGMENTS );
68}
69
70void DebugDraw::DrawSolidCircle( const b2Vec2 &center, float32 radius, const b2Vec2 &axis, const b2Color &color )
71{

Callers 1

DrawShapeMethod · 0.80

Calls 3

toCinderFunction · 0.85
drawStrokedCircleFunction · 0.85
colorFunction · 0.50

Tested by

no test coverage detected