gestureOut.time += interpolationTime;
}
-void PanGesture::UpdateProperties( unsigned int lastVSyncTime, unsigned int nextVSyncTime )
+bool PanGesture::UpdateProperties( unsigned int lastVSyncTime, unsigned int nextVSyncTime )
{
+ bool propertiesUpdated( false );
+
if( !mInGesture )
{
// clear current pan history
mScreenDisplacement.Set( nextGesture.screen.displacement );
mLocalPosition.Set( nextGesture.local.position );
mLocalDisplacement.Set( nextGesture.local.displacement );
+
+ propertiesUpdated = true;
}
if( mProfiling )
mProfiling->ClearData();
UPDATE_COUNT = 0u;
}
+
+ return propertiesUpdated;
}
const GesturePropertyVector2& PanGesture::GetScreenPositionProperty() const