returns the delta position between the current location and the previous location in OpenGL coordinates
| 68 | |
| 69 | // returns the delta position between the current location and the previous location in OpenGL coordinates |
| 70 | Vec2 Touch::getDelta() const |
| 71 | { |
| 72 | return getLocation() - getPreviousLocation(); |
| 73 | } |
| 74 | |
| 75 | // Returns the current touch force for 3d touch. |
| 76 | float Touch::getCurrentForce() const |
no outgoing calls