Searched refs:zDifference (Results 1 – 2 of 2) sorted by relevance
243 float zDifference = point2[Z] - point1[Z]; in distanceCalculationInXYZSpace() local246 return (float) Math.sqrt((zDifference * zDifference) + (yDifference * yDifference) + in distanceCalculationInXYZSpace()
277 float xDifference, yDifference, zDifference; in hasRingBeenEntered() local282 zDifference = Math.abs(mRings.get(i).getLocation()[Z] - location[Z]); in hasRingBeenEntered()283 if (xDifference < 0.17 && yDifference < 0.17 && zDifference < 0.17) { in hasRingBeenEntered()