Searched refs:lengthScaleFactor (Results 1 – 1 of 1) sorted by relevance
233 float lengthScaleFactor = 0.02f / magnitude; in calculateRectangleHitbox() local241 midFront[X] = centre[X] + (lengthScaleFactor * rotation[X]); in calculateRectangleHitbox()242 midFront[Y] = centre[Y] + (lengthScaleFactor * rotation[Y]); in calculateRectangleHitbox()244 midRear[X] = centre[X] + (lengthScaleFactor * rotationInverse[X]); in calculateRectangleHitbox()245 midRear[Y] = centre[Y] + (lengthScaleFactor * rotationInverse[Y]); in calculateRectangleHitbox()