Matrix.set_scale

Copyies the scale from mat to the current matrix (nxn matrices, n >= 3).

  1. void set_scale(mt[] values)
  2. void set_scale(Matrix mat)
    struct Matrix(type, int rows_, int cols_)
    @safe pure nothrow
    static if((rows == cols) && (rows >= 3))
    void
    set_scale
    if (
    (rows_ > 0) &&
    (cols_ > 0)
    )

Meta