mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:03:57 +02:00
[Case 6491] Fixes minor spacing issue, on while loop missed previous eslint pass.
Changes Committed: modified: scripts/system/libraries/entitySelectionTool.js
This commit is contained in:
parent
cb264b5552
commit
a5b913a8b9
1 changed files with 3 additions and 3 deletions
|
@ -239,13 +239,13 @@ SelectionManager = (function() {
|
|||
// Normalize degrees to be in the range (-180, 180]
|
||||
function normalizeDegrees(degrees) {
|
||||
while (degrees > 180) {
|
||||
degrees -= 360;
|
||||
degrees -= 360;
|
||||
}
|
||||
|
||||
while (degrees <= -180) {
|
||||
degrees += 360;
|
||||
degrees += 360;
|
||||
}
|
||||
|
||||
|
||||
return degrees;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue