diff options
| author | Florent Guiocheau <florent.guiocheau@gmail.com> | 2024-10-14 21:45:17 +0200 |
|---|---|---|
| committer | Florent Guiocheau <florent.guiocheau@gmail.com> | 2024-10-14 21:50:12 +0200 |
| commit | 02fd535454773edb1a8c4b52d5b851e863660246 (patch) | |
| tree | 1aa77dceab01e5cc1c2e4295568255b3e56fc25f /include/godot_cpp | |
| parent | 6facde3c29abe4d8b0ff365c252c9aeb16fc5f66 (diff) | |
| download | redot-cpp-02fd535454773edb1a8c4b52d5b851e863660246.tar.gz | |
Add p_use_model_front to Basis::looking_at()
Diffstat (limited to 'include/godot_cpp')
| -rw-r--r-- | include/godot_cpp/variant/basis.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/variant/basis.hpp b/include/godot_cpp/variant/basis.hpp index e740a64..f3ebe15 100644 --- a/include/godot_cpp/variant/basis.hpp +++ b/include/godot_cpp/variant/basis.hpp @@ -224,7 +224,7 @@ struct _NO_DISCARD_ Basis { operator Quaternion() const { return get_quaternion(); } - static Basis looking_at(const Vector3 &p_target, const Vector3 &p_up = Vector3(0, 1, 0)); + static Basis looking_at(const Vector3 &p_target, const Vector3 &p_up = Vector3(0, 1, 0), bool p_use_model_front = false); Basis(const Quaternion &p_quaternion) { set_quaternion(p_quaternion); } Basis(const Quaternion &p_quaternion, const Vector3 &p_scale) { set_quaternion_scale(p_quaternion, p_scale); } |
