Searched refs:xmax (Results 1 – 1 of 1) sorted by relevance
187 final float xmax = mHorizontalBound; in resolveCollisionWithBounds() local191 if (x > xmax) { in resolveCollisionWithBounds()192 mPosX = xmax; in resolveCollisionWithBounds()194 } else if (x < -xmax) { in resolveCollisionWithBounds()195 mPosX = -xmax; in resolveCollisionWithBounds()