Searched refs:rotationNinety (Results 1 – 1 of 1) sorted by relevance
237 float[] rotationNinety = {rotation[Y], 0 - rotation[X]}; in calculateRectangleHitbox() local253 frontRight[X] = midFront[X] + (widthScaleFactor * rotationNinety[X]); in calculateRectangleHitbox()254 frontRight[Y] = midFront[Y] + (widthScaleFactor * rotationNinety[Y]); in calculateRectangleHitbox()261 rearRight[X] = midRear[X] + (widthScaleFactor * rotationNinety[X]); in calculateRectangleHitbox()262 rearRight[Y] = midRear[Y] + (widthScaleFactor * rotationNinety[Y]); in calculateRectangleHitbox()