Searched refs:targetPosition (Results 1 – 1 of 1) sorted by relevance
110 final Vector2 targetPosition = mTargetPosition; in update() local117 targetPosition.x, INTERPOLATE_TO_TARGET_TIME, delta); in update()120 targetPosition.y, INTERPOLATE_TO_TARGET_TIME, delta); in update()135 final float xDelta = targetPosition.x - mCurrentCameraPosition.x; in update()137 … mCurrentCameraPosition.x = targetPosition.x - (X_FOLLOW_DISTANCE * Utils.sign(xDelta)); in update()141 final float yDelta = targetPosition.y - mCurrentCameraPosition.y; in update()143 mCurrentCameraPosition.y = targetPosition.y - Y_UP_FOLLOW_DISTANCE; in update()145 mCurrentCameraPosition.y = targetPosition.y + Y_DOWN_FOLLOW_DISTANCE; in update()