Searched refs:rotationInverse (Results 1 – 1 of 1) sorted by relevance
236 float[] rotationInverse = {0 - rotation[X], 0 - rotation[Y]}; in calculateRectangleHitbox() local244 midRear[X] = centre[X] + (lengthScaleFactor * rotationInverse[X]); in calculateRectangleHitbox()245 midRear[Y] = centre[Y] + (lengthScaleFactor * rotationInverse[Y]); in calculateRectangleHitbox()