Searched refs:pythag (Results 1 – 2 of 2) sorted by relevance
485 static float pythag(float x, float y) {524 return pythag(mPositionX - x, mPositionY - y);636 mHeadingMagnitude = pythag(mHeadingX, mHeadingY);671 final float speed = pythag(mVelocityX, mVelocityY);
450 private static float pythag(float x, float y) { in pythag() method in GameView521 return pythag(mPositionX - x, mPositionY - y); in distanceTo()921 mHeadingMagnitude = pythag(mHeadingX, mHeadingY);995 final float speed = pythag(mVelocityX, mVelocityY);