summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/variant/quaternion.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-07 22:25:54 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-07 22:25:54 +0200
commitdb8679443fb6fcd5f9a97abf3e25c9e64f256607 (patch)
tree3adaf7df7db0ce66302490f3e5e9cbf263645929 /include/godot_cpp/variant/quaternion.hpp
parent0eba81ef79b96922a0e1637f812e4e1df4d29a4c (diff)
parent65eeb94f75d00cf523da114de3587f930cdec13f (diff)
downloadredot-cpp-db8679443fb6fcd5f9a97abf3e25c9e64f256607.tar.gz
Merge pull request #885 from aaronfranke/core-data-structs
Update core data structures to match the engine
Diffstat (limited to 'include/godot_cpp/variant/quaternion.hpp')
-rw-r--r--include/godot_cpp/variant/quaternion.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/godot_cpp/variant/quaternion.hpp b/include/godot_cpp/variant/quaternion.hpp
index e84202d..dd60561 100644
--- a/include/godot_cpp/variant/quaternion.hpp
+++ b/include/godot_cpp/variant/quaternion.hpp
@@ -143,8 +143,7 @@ struct _NO_DISCARD_ Quaternion {
w = p_q.w;
}
- Quaternion(const Vector3 &v0, const Vector3 &v1) // shortest arc
- {
+ Quaternion(const Vector3 &v0, const Vector3 &v1) { // Shortest arc.
Vector3 c = v0.cross(v1);
real_t d = v0.dot(v1);