Godot version
Not in godot master.
godot-cpp version
a98d41f
System information
Macos, m2 mac mini
Issue description
Quaternion::Quaternion(const Vector3 &p_euler); https://github.com/godotengine/godot-cpp/blob/master/src/variant/quaternion.cpp#L335
Does not properly implement all 6 conversion or let the developer choose the rotation order. https://github.com/godotengine/godot/blob/master/core/math/basis.cpp#L457
This function was purposely left out of Quaternion because the math for this would be duplicated. I would recommend converting from basis as a wrapper.
Steps to reproduce
Code review.
Minimal reproduction project
The reproduction steps are by code review.
Godot version
Not in godot master.
godot-cpp version
a98d41f
System information
Macos, m2 mac mini
Issue description
Quaternion::Quaternion(const Vector3 &p_euler); https://github.com/godotengine/godot-cpp/blob/master/src/variant/quaternion.cpp#L335
Does not properly implement all 6 conversion or let the developer choose the rotation order. https://github.com/godotengine/godot/blob/master/core/math/basis.cpp#L457
This function was purposely left out of Quaternion because the math for this would be duplicated. I would recommend converting from basis as a wrapper.
Steps to reproduce
Code review.
Minimal reproduction project
The reproduction steps are by code review.