Searched refs:rotationNinetyInverse (Results 1 – 1 of 1) sorted by relevance
238 float[] rotationNinetyInverse = {0 - rotation[Y], rotation[X]}; in calculateRectangleHitbox() local249 frontLeft[X] = midFront[X] + (widthScaleFactor * rotationNinetyInverse[X]); in calculateRectangleHitbox()250 frontLeft[Y] = midFront[Y] + (widthScaleFactor * rotationNinetyInverse[Y]); in calculateRectangleHitbox()257 rearLeft[X] = midRear[X] + (widthScaleFactor * rotationNinetyInverse[X]); in calculateRectangleHitbox()258 rearLeft[Y] = midRear[Y] + (widthScaleFactor * rotationNinetyInverse[Y]); in calculateRectangleHitbox()