Matrix.scale

Applys a scale to the current matrix and returns this (3x3 and 4x4 matrices).

  1. Matrix scale(mt x, mt y)
  2. Matrix scale(mt x, mt y, mt z)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3) && (rows <= 4))
    scale
    (,,)
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )

Meta