| 1919 | } |
| 1920 | |
| 1921 | Vec2 Node::convertToWindowSpace(const Vec2& nodePoint) const |
| 1922 | { |
| 1923 | Vec2 worldPoint(this->convertToWorldSpace(nodePoint)); |
| 1924 | return _director->convertToUI(worldPoint); |
| 1925 | } |
| 1926 | |
| 1927 | // convenience methods which take a Touch instead of Vec2 |
| 1928 | Vec2 Node::convertTouchToNodeSpace(Touch* touch) const |
nothing calls this directly
no test coverage detected