Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java233 float lengthScaleFactor = 0.02f / magnitude; in calculateRectangleHitbox() local
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()