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

Function toCinder

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

Source from the content-addressed store, hash-verified

18}
19
20vec2 toCinder( const b2Vec2 &vec ) { return vec2( vec.x, vec.y ); }
21Color toCinder( const b2Color &color ) { return Color( color.r, color.g, color.b ); }
22
23DebugDraw::DebugDraw()

Callers 9

DrawPolygonMethod · 0.85
DrawSolidPolygonMethod · 0.85
DrawCircleMethod · 0.85
DrawSolidCircleMethod · 0.85
DrawSegmentMethod · 0.85
DrawTransformMethod · 0.85
BeginContactMethod · 0.85
handleCollisionMethod · 0.85
drawMethod · 0.85

Calls 1

ColorFunction · 0.50

Tested by

no test coverage detected