Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java305 float[] rectangleVector2 = new float[2]; in checkCollision() local
306rectangleVector2[X] = ring.getRectangleHitBox().get(2)[X] - ring.getRectangleHitBox().get(3)[X]; in checkCollision()
307rectangleVector2[Y] = ring.getRectangleHitBox().get(2)[Y] - ring.getRectangleHitBox().get(3)[Y]; in checkCollision()
316 if (dotProduct(rectangleVector2, locationVector, VECTOR_2D) > 0) { in checkCollision()
317 if (dotProduct(rectangleVector2, rectangleVector2, VECTOR_2D) in checkCollision()
318 > dotProduct(rectangleVector2, locationVector, VECTOR_2D)) { in checkCollision()