returns the start touch location in OpenGL coordinates
| 62 | |
| 63 | // returns the start touch location in OpenGL coordinates |
| 64 | Vec2 Touch::getStartLocation() const |
| 65 | { |
| 66 | return Director::getInstance()->convertToGL(_startPoint); |
| 67 | } |
| 68 | |
| 69 | // returns the delta position between the current location and the previous location in OpenGL coordinates |
| 70 | Vec2 Touch::getDelta() const |