Just little tweaks

Mostly style, also the name of the Transposed() function -> Transpose().
This commit is contained in:
Eryn Wells 2014-08-11 07:58:47 -07:00
parent 56fff1178e
commit 97b37d3c53
2 changed files with 5 additions and 5 deletions

View file

@ -311,7 +311,7 @@ operator*(Double lhs,
* charles::basics::Transposed -- * charles::basics::Transposed --
*/ */
Matrix4 Matrix4
Transposed(Matrix4 m) Transpose(Matrix4 m)
{ {
return m.Transpose(); return m.Transpose();
} }

View file

@ -73,8 +73,8 @@ struct Matrix4
Vector4 operator*(const Vector4 &rhs) const; Vector4 operator*(const Vector4 &rhs) const;
/** @} */ /** @} */
Matrix4& Transpose(); Matrix4 &Transpose();
Matrix4& Inverse(); Matrix4 &Inverse();
protected: protected:
/** The matrix data */ /** The matrix data */
@ -93,10 +93,10 @@ Matrix4 operator*(Double lhs, const Matrix4 &rhs);
/** Transpose the given matrix. */ /** Transpose the given matrix. */
Matrix4 Transposed(Matrix4 rhs); Matrix4 Transpose(Matrix4 m);
/** Invert the given matrix. */ /** Invert the given matrix. */
Matrix4 Inverse(Matrix4 rhs); Matrix4 Inverse(Matrix4 m);
} /* namespace basics */ } /* namespace basics */
} /* namespace charles */ } /* namespace charles */