Quaternion
The Quaternion function is used to encode a call to OpenGL's Vertex4 function. If P = [x,y,z,t] is a 4-vector, then the call
Quaternion(P);
returns the call Vertex4(x,y,z,t) within a glDraw{...} Protocol. This is useful for establishing rotation steps for DoShift, DoSpinShift, and DoShiftSpin, and is similar in this regard to the Vertex function.
See Also