vrml.vrml97.transformmatrix

Utility module for creating transformation matrices
Basically this gives you the ability to construct transformation matrices without needing OpenGL or similar run-time engines. The result is that design-time utilities can process files without trading dependencies on a particular run-time.
This code is originally from the mcf.vrml processing engine, and has only been cosmetically altered to fit the new organizational pattern.
Note: to apply these matrices to a particular coordinate, you would do the following:
p = ones( 4 ) p[:3] = coordinate return dot( p, matrix)
That is, you use the homogenous coordinate, and make it the first item in the dot'ing.

Functions