From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Geometry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Stars45/Geometry.cpp') 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]; -- cgit v1.1