Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java301 float[] rectangleVector1 = new float[2]; in checkCollision() local
302rectangleVector1[X] = ring.getRectangleHitBox().get(0)[X] - ring.getRectangleHitBox().get(3)[X]; in checkCollision()
303rectangleVector1[Y] = ring.getRectangleHitBox().get(0)[Y] - ring.getRectangleHitBox().get(3)[Y]; in checkCollision()
313 if (dotProduct(rectangleVector1, locationVector, VECTOR_2D) > 0) { in checkCollision()
314 if (dotProduct(rectangleVector1, rectangleVector1, VECTOR_2D) in checkCollision()
315 > dotProduct(rectangleVector1, locationVector, VECTOR_2D)) { in checkCollision()