diff options
author | David Snopek <dsnopek@gmail.com> | 2024-10-17 16:02:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 16:02:02 +0200 |
commit | 96675a814b9038b7da57607c34b8e7e69b8c1678 (patch) | |
tree | 880635da75704e5975cbe8b3fa1c3a6e6015f78b /include/godot_cpp | |
parent | 291147e21b9d03938cff7d7e38bbe4365f029762 (diff) | |
parent | 02fd535454773edb1a8c4b52d5b851e863660246 (diff) | |
download | redot-cpp-96675a814b9038b7da57607c34b8e7e69b8c1678.tar.gz |
Merge pull request #1625 from Flarkk/looking_at
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); } |