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