OpenGL (and consequently spock) viewing matrices are stored in column major order, with the last column containing the translation components, while the upper-left 3x3 components are a rotation matrix. Array values are stored in memory in the following orientation:

Note that most matrices supplied in PDB files do not have a fourth row. This row should always be .

To facilitate easy cut-and-paste entry of matrices the matrix
entry prompts expect the matrix to be specified by rows, with one row
following the other, all on a single line. This is exactly what you get
if you select a matrix printed out as above, and paste it into an entry
prompt (with mouse button 2). The expected order of elements in an entry
prompt is:

Tue Sep 14 16:44:48 CDT 1999