summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Geometry.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Geometry.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
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];