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

Method getPos

samples/FallingGears/src/SceneObjects.cpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24vec2 SceneObject::getPos() const
25{
26 return vec2( mBody->GetPosition().x, mBody->GetPosition().y );
27}
28
29// ----------------------------------------------------------------------------------------------------
30// MARK: - Gear

Callers 15

mouseDragMethod · 0.45
mouseDownMethod · 0.45
mouseDownMethod · 0.45
mouseDragMethod · 0.45
mouseDownMethod · 0.45
mouseDownMethod · 0.45
mouseDownMethod · 0.45
mouseDragMethod · 0.45
mouseDragMethod · 0.45
mouseUpMethod · 0.45
mouseMoveMethod · 0.45
mouseDragMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected