Created by: DolphinDream
To start with, this adds 3 nodes (quaternion in, quaternion out and quaternion math nodes).
Quaternion In: Provides conversion to quaternion from various format inputs (selectable via the mode option):
- components wxyz
- angle + axis
- euler angles
- matrix
Quaternion Out: Provides various components (conversion) from quaternion to various components: (w,x,y,z) components, matrix, axis + angle, Euler angle
Quaternion Math: Provides the essential quaternion arithmetic operations:
ADD SUB MULTIPLY DIVIDE ROTATE DOT DISTANCE INVERT NORMALIZE CONJUGATE NEGATE SCALE MAGNITUDE
Note: some operations take multiple quaternion inputs (input list grows as new sockets are connected), as well as single quaternion inputs, or quaternion + scalar input.
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.