Vec2f Node2D::parentToScreen( const Vec2f &pt ) const { Vec2f p = pt; Node2DRef node = getParent<Node2D>(); if(node) p = node->objectToScreen(p); return p; }
vec2 Node2D::parentToScreen( const vec2 &pt ) const { vec2 p = pt; Node2DRef node = getParent<Node2D>(); if( node ) p = node->objectToScreen( p ); return p; }