MCPcopy Create free account
hub / github.com/axmolengine/axmol / getPreviousLocation

Method getPreviousLocation

core/base/EventMouse.cpp:66–69  ·  view source on GitHub ↗

returns the previous touch location in OpenGL coordinates

Source from the content-addressed store, hash-verified

64
65// returns the previous touch location in OpenGL coordinates
66Vec2 EventMouse::getPreviousLocation() const
67{
68 return Director::getInstance()->convertToGL(_prevPoint);
69}
70
71// returns the start touch location in OpenGL coordinates
72Vec2 EventMouse::getStartLocation() const

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
convertToGLMethod · 0.80

Tested by

no test coverage detected