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

Method getPreviousLocationInView

core/base/Touch.cpp:40–43  ·  view source on GitHub ↗

returns the previous touch location in screen coordinates

Source from the content-addressed store, hash-verified

38
39// returns the previous touch location in screen coordinates
40Vec2 Touch::getPreviousLocationInView() const
41{
42 return _prevPoint;
43}
44
45// returns the start touch location in screen coordinates
46Vec2 Touch::getStartLocationInView() const

Callers 2

onTouchsMovedMethod · 0.45
onTouchesMovedMethod · 0.45

Calls

no outgoing calls

Tested by 2

onTouchsMovedMethod · 0.36
onTouchesMovedMethod · 0.36