Matrix.translation

static construction of a translation matrix from three coordinates

  1. Matrix translation(valueType x)
  2. Matrix translation(valueType[2] vec)
  3. Matrix translation(valueType x, valueType y)
  4. Matrix translation(valueType[3] vec)
  5. Matrix translation(valueType x, valueType y, valueType z)
    struct Matrix(type, int numCols, int numRows)
    @safe pure nothrow static
    static if(cols == rows)
    static if(!(cols == 2))
    static if(!(cols == 3))
    static if(cols == 4)
    translation
    if (
    (numCols > 1) &&
    (numRows > 1)
    )
  6. Matrix translation()

Meta