From 97b37d3c535e57696a280db225f4b40b889acb6f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 11 Aug 2014 07:58:47 -0700 Subject: [PATCH] Just little tweaks Mostly style, also the name of the Transposed() function -> Transpose(). --- src/basics/matrix.cc | 2 +- src/basics/matrix.hh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/basics/matrix.cc b/src/basics/matrix.cc index 5779794..92fa60a 100644 --- a/src/basics/matrix.cc +++ b/src/basics/matrix.cc @@ -311,7 +311,7 @@ operator*(Double lhs, * charles::basics::Transposed -- */ Matrix4 -Transposed(Matrix4 m) +Transpose(Matrix4 m) { return m.Transpose(); } diff --git a/src/basics/matrix.hh b/src/basics/matrix.hh index ba8309c..b6bae04 100644 --- a/src/basics/matrix.hh +++ b/src/basics/matrix.hh @@ -73,8 +73,8 @@ struct Matrix4 Vector4 operator*(const Vector4 &rhs) const; /** @} */ - Matrix4& Transpose(); - Matrix4& Inverse(); + Matrix4 &Transpose(); + Matrix4 &Inverse(); protected: /** The matrix data */ @@ -93,10 +93,10 @@ Matrix4 operator*(Double lhs, const Matrix4 &rhs); /** Transpose the given matrix. */ -Matrix4 Transposed(Matrix4 rhs); +Matrix4 Transpose(Matrix4 m); /** Invert the given matrix. */ -Matrix4 Inverse(Matrix4 rhs); +Matrix4 Inverse(Matrix4 m); } /* namespace basics */ } /* namespace charles */