Matrix.rotate

rotate an existing matrix with an angle around an axis

  1. Matrix rotate(real angle)
  2. Matrix rotate(real angle, Vector!(valueType, 3) axis)
    struct Matrix(type, int numCols, int numRows)
    rotate
    (
    real angle
    ,
    Vector!(valueType, 3) axis
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  3. Matrix rotate(real angle, valueType x, valueType y, valueType z)

Meta