summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Geometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Geometry.cpp')
-rw-r--r--Stars45/Geometry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Stars45/Geometry.cpp b/Stars45/Geometry.cpp
index 74d6f53..3293ad2 100644
--- a/Stars45/Geometry.cpp
+++ b/Stars45/Geometry.cpp
@@ -427,7 +427,7 @@ Matrix::ComputeEulerAngles(double& roll, double& pitch, double& yaw) const
roll = PI - roll;
if (sign(cos(pitch)*cy) != sign(elem[2][2]))
- pitch = PI - pitch;
+ pitch = PI - pitch;
}
// +--------------------------------------------------------------------+
@@ -482,7 +482,7 @@ Matrix::operator*(const Vec3& v) const
// +--------------------------------------------------------------------+
-double
+double
Matrix::Cofactor(int i, int j) const
{
int i1=0;
@@ -498,12 +498,12 @@ Matrix::Cofactor(int i, int j) const
if ((i+j) & 1)
factor *= -1;
- return factor;
+ return factor;
}
// +--------------------------------------------------------------------+
-void
+void
Matrix::Invert()
{
double f[3][3];