Make CTransform::buildMatrix3f() return reference

This commit is contained in:
Jack Andersen 2017-02-11 17:16:29 -10:00
parent ad74069739
commit 6f215040f4
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public:
* buildMatrix3f is here for compliance with Retro's Math API
* @return The Matrix (Neo, you are the one)
*/
inline CMatrix3f buildMatrix3f() const { return basis; }
inline const CMatrix3f& buildMatrix3f() const { return basis; }
inline CVector3f operator*(const CVector3f& other) const { return origin + basis * other; }