mirror of https://github.com/AxioDL/zeus.git
Make CTransform::buildMatrix3f() return reference
This commit is contained in:
parent
ad74069739
commit
6f215040f4
|
@ -191,7 +191,7 @@ public:
|
||||||
* buildMatrix3f is here for compliance with Retro's Math API
|
* buildMatrix3f is here for compliance with Retro's Math API
|
||||||
* @return The Matrix (Neo, you are the one)
|
* @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; }
|
inline CVector3f operator*(const CVector3f& other) const { return origin + basis * other; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue