Change-Id: Ia5af0c9c3c5178d51449ac85f0040a821d380cbd
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
gestureOut.screen.position *= 0.5f;
gestureOut.local.position *= 0.5f;
// make current displacement relative to previous update-frame now.
- gestureOut.screen.displacement = mLastEventGesture.screen.position - gestureOut.screen.position;
- gestureOut.local.displacement = mLastEventGesture.local.position - gestureOut.local.position;
+ gestureOut.screen.displacement = gestureOut.screen.position - mLastEventGesture.screen.position;
+ gestureOut.local.displacement = gestureOut.local.position - mLastEventGesture.local.position;
}
}
}