|
|
@@ -1329,7 +1329,7 @@ namespace oxygine
|
|
|
|
|
|
Vector2 convert_local2stage(const Actor* actor, const Vector2& pos, const Actor* root)
|
|
|
{
|
|
|
- if( !root )
|
|
|
+ if(!root)
|
|
|
root = getStage().get();
|
|
|
return convert_local2global_(actor, root, pos);
|
|
|
}
|
|
|
@@ -1343,7 +1343,7 @@ namespace oxygine
|
|
|
|
|
|
Vector2 convert_stage2local(const Actor* actor, const Vector2& pos, const Actor* root )
|
|
|
{
|
|
|
- if( !root )
|
|
|
+ if(!root)
|
|
|
root = getStage().get();
|
|
|
return convert_global2local_(actor, root, pos);
|
|
|
}
|