diff options
| author | Franklin Sobrinho | 2015-11-11 11:30:55 -0300 |
|---|---|---|
| committer | Franklin Sobrinho | 2015-11-11 11:30:55 -0300 |
| commit | 541812e999858ec1a7f1dc19febef2617f06573f (patch) | |
| tree | 971306745f2c607dd420b74e0c01bef40a702ccc /core/math | |
| parent | 61c4c5795ff9057b1c67142758418a4f982a0241 (diff) | |
| download | godot-541812e999858ec1a7f1dc19febef2617f06573f.tar.gz godot-541812e999858ec1a7f1dc19febef2617f06573f.tar.zst godot-541812e999858ec1a7f1dc19febef2617f06573f.zip | |
Implement Quat multiply operator, and xform method
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/quat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quat.h b/core/math/quat.h index de4aedaee..f161e3507 100644 --- a/core/math/quat.h +++ b/core/math/quat.h @@ -73,7 +73,7 @@ public: -x * v.x - y * v.y - z * v.z); } - _FORCE_INLINE_ Vector3 xform(const Vector3& v) { + _FORCE_INLINE_ Vector3 xform(const Vector3& v) const { Quat q = *this * v; q *= this->inverse(); |
