Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
vec2 toCinder( const b2Vec2 &vec ) { return vec2( vec.x, vec.y ); }
21
Color toCinder( const b2Color &color ) { return Color( color.r, color.g, color.b ); }
22
23
DebugDraw::DebugDraw()
Callers
9
DrawPolygon
Method · 0.85
DrawSolidPolygon
Method · 0.85
DrawCircle
Method · 0.85
DrawSolidCircle
Method · 0.85
DrawSegment
Method · 0.85
DrawTransform
Method · 0.85
BeginContact
Method · 0.85
handleCollision
Method · 0.85
draw
Method · 0.85
Calls
1
Color
Function · 0.50
Tested by
no test coverage detected