All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -39,13 +39,13 @@ SbRotation Camera::bottom()
SbRotation Camera::front()
{
auto root = sqrtf(2.0)/2.0f;
auto root = sqrtf(2.0) / 2.0f;
return {root, 0, 0, root};
}
SbRotation Camera::rear()
{
auto root = sqrtf(2.0)/2.0f;
auto root = sqrtf(2.0) / 2.0f;
return {0, root, root, 0};
}
@@ -92,26 +92,26 @@ SbRotation Camera::trimetric()
SbRotation Camera::rotation(Camera::Orientation view)
{
switch (view) {
case Top:
return top();
case Bottom:
return bottom();
case Front:
return front();
case Rear:
return rear();
case Right:
return right();
case Left:
return left();
case Isometric:
return isometric();
case Dimetric:
return dimetric();
case Trimetric:
return trimetric();
default:
return top();
case Top:
return top();
case Bottom:
return bottom();
case Front:
return front();
case Rear:
return rear();
case Right:
return right();
case Left:
return left();
case Isometric:
return isometric();
case Dimetric:
return dimetric();
case Trimetric:
return trimetric();
default:
return top();
}
}