Searched refs:rectangleVector1 (Results 1 – 1 of 1) sorted by relevance
301 float[] rectangleVector1 = new float[2]; in checkCollision() local302 … rectangleVector1[X] = ring.getRectangleHitBox().get(0)[X] - ring.getRectangleHitBox().get(3)[X]; in checkCollision()303 … rectangleVector1[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()