diff options
| author | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
| commit | bc26f905817945300d397696330d1ab04a1af33c (patch) | |
| tree | d06338399c8ea410042f6631fb3db3efcc100b05 /core/math/vector3.cpp | |
| parent | 710692278d1353aad08bc7bceb655afc1d6c950c (diff) | |
| download | godot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst godot-bc26f905817945300d397696330d1ab04a1af33c.zip | |
Diffstat (limited to 'core/math/vector3.cpp')
| -rw-r--r-- | core/math/vector3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/vector3.cpp b/core/math/vector3.cpp index 7c6cc5182..3eb978333 100644 --- a/core/math/vector3.cpp +++ b/core/math/vector3.cpp @@ -32,7 +32,7 @@ void Vector3::rotate(const Vector3& p_axis,float p_phi) { - *this=Matrix3(p_axis,p_phi).xform(*this); + *this=Basis(p_axis,p_phi).xform(*this); } Vector3 Vector3::rotated(const Vector3& p_axis,float p_phi) const { |
