POV-Ray Insert Menu
mady by Christoph Hormann
http://www.imagico.de/

matrix

top previous next

// Matrix is an object transformation that does rotation about the Y axis,
// shear along the Y axis, and translation along the Y axis
matrix
<
  0.8860.50.5,       // the first 3 lines form a rotation matrix
  0,     1,   0,         // since it is not orthogonal, shearing occurs
  0.5,   0,  -0.886,
  0,     1.50          // the last 3 values contain the translation
>