Searched refs:xmax (Results 1 – 1 of 1) sorted by relevance
205 final float xmax = mHorizontalBound; in resolveCollisionWithBounds() local209 if (x > xmax) { in resolveCollisionWithBounds()210 mPosX = xmax; in resolveCollisionWithBounds()211 } else if (x < -xmax) { in resolveCollisionWithBounds()212 mPosX = -xmax; in resolveCollisionWithBounds()