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

Method getStartLocation

core/base/EventMouse.cpp:72–75  ·  view source on GitHub ↗

returns the start touch location in OpenGL coordinates

Source from the content-addressed store, hash-verified

70
71// returns the start touch location in OpenGL coordinates
72Vec2 EventMouse::getStartLocation() const
73{
74 return Director::getInstance()->convertToGL(_startPoint);
75}
76
77// returns the delta position between the current location and the previous location in OpenGL coordinates
78Vec2 EventMouse::getDelta() const

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
convertToGLMethod · 0.80

Tested by

no test coverage detected