Change Std Bottom orientation (x ->right; y ->down)

Camera::rotation(Camera::Bottom) was upside-down compared to industry standards and other FreeCAD bottom views
This commit is contained in:
Adrian
2020-05-01 17:23:15 -04:00
committed by wwmayer
parent ab96421524
commit b25a2f4d3a

View File

@@ -413,7 +413,7 @@ SbRotation Camera::rotation(Camera::Orientation view)
case Top:
return SbRotation(0, 0, 0, 1);
case Bottom:
return SbRotation(0, 1, 0, 0);
return SbRotation(1, 0, 0, 0);
case Front: {
float root = (float)(sqrt(2.0)/2.0);
return SbRotation(root, 0, 0, root);