Searched refs:midFront (Results 1 – 1 of 1) sorted by relevance
240 float[] midFront = new float[2]; in calculateRectangleHitbox() local241 midFront[X] = centre[X] + (lengthScaleFactor * rotation[X]); in calculateRectangleHitbox()242 midFront[Y] = centre[Y] + (lengthScaleFactor * rotation[Y]); in calculateRectangleHitbox()249 frontLeft[X] = midFront[X] + (widthScaleFactor * rotationNinetyInverse[X]); in calculateRectangleHitbox()250 frontLeft[Y] = midFront[Y] + (widthScaleFactor * rotationNinetyInverse[Y]); in calculateRectangleHitbox()253 frontRight[X] = midFront[X] + (widthScaleFactor * rotationNinety[X]); in calculateRectangleHitbox()254 frontRight[Y] = midFront[Y] + (widthScaleFactor * rotationNinety[Y]); in calculateRectangleHitbox()