Construct from four values of type $( I valueType ), last one the w coordinate
Construct from a 3d vector / array imaginary part and a real value w of type $( I valueType )
Construct from 4d vector / array, w or index 3 respectively being the quternions w ccord
Construct / convert from 3x3 matrix
//////////// ////////////
Returns a pointer to the vector in memory
Rotates the current vector around an axis and returns $( I this ).
Applies an euler rotation to the current vector and returns $( I this ).
Rotates the current vector around the x-axis and returns $( I this ).
Rotates the current vector around the y-axis and returns $( I this ).
Rotates the current vector around the z-axis and returns $( I this ).
Returns the current quternion formatted as string, useful for printing
Returns an identity vector ( x=0, y=0, z=0, w=1 ).
Returns a vector with applied rotation around an axis.
Creates a vector from an euler rotation.
/////////// /////////// Returns a vector with applied rotation around the x-axis.
Returns a vector with applied rotation around the y-axis.
Returns a vector with applied rotation around the z-axis.
Base template for all quaternion-types.