Vertex

The Vertex function is used to encode a call to OpenGL's Vertex3 function.  If P = [x,y,z] is a MathScript 3-vector, then the call

Vertex(P);

returns the call Vertex3(x,y,z) within a glDraw{...} Protocol.  This is useful for establishing translation steps for DoShift, DoSpinShift, and DoShiftSpin, and is similar in this regard to the Quaternion function.

See Also

Quaternion