| 17 | // ---------------------------------------------------------------------------------------------------- |
| 18 | |
| 19 | void SceneObject::setPosition( const ci::vec2 &pos ) |
| 20 | { |
| 21 | mBody->SetTransform( b2Vec2( pos.x, pos.y ), mBody->GetAngle() ); |
| 22 | } |
| 23 | |
| 24 | vec2 SceneObject::getPos() const |
| 25 | { |
no test coverage detected