Home
last modified time | relevance | path

Searched refs:centre (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java229 private ArrayList<float[]> calculateRectangleHitbox(float[] centre, float[] rotation) { in calculateRectangleHitbox() argument
241 midFront[X] = centre[X] + (lengthScaleFactor * rotation[X]); in calculateRectangleHitbox()
242 midFront[Y] = centre[Y] + (lengthScaleFactor * rotation[Y]); in calculateRectangleHitbox()
244 midRear[X] = centre[X] + (lengthScaleFactor * rotationInverse[X]); in calculateRectangleHitbox()
245 midRear[Y] = centre[Y] + (lengthScaleFactor * rotationInverse[Y]); in calculateRectangleHitbox()
248 frontLeft[Z] = centre[Z]; in calculateRectangleHitbox()
252 frontRight[Z] = centre[Z]; in calculateRectangleHitbox()
256 rearLeft[Z] = centre[Z]; in calculateRectangleHitbox()
260 rearRight[Z] = centre[Z]; in calculateRectangleHitbox()