Matrix.translation

static construction of a translation matrix from two coordinates

  1. Matrix translation(valueType x)
  2. Matrix translation(valueType[2] vec)
  3. Matrix translation(valueType x, valueType y)
    struct Matrix(type, int numCols, int numRows)
    static
    translation
    (
    valueType x
    ,
    valueType y
    )
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  4. Matrix translation(valueType[3] vec)
  5. Matrix translation(valueType x, valueType y, valueType z)
  6. Matrix translation()

Meta