mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-04 12:15:56 +00:00
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
|
||||
* @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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user