scaleMat

Creates a uniform 3d scale matrix

  1. M scaleMat(T s)
    @nogc pure nothrow
    M
    scaleMat
    (
    M = Mat4f
    T = float
    )
    (
    T s
    )
    if (
    is4dMat!M &&
    is(T : real)
    )
  2. M scaleMat(T x, T y, T z)
  3. M scaleMat(V v)

Parameters

s T

scale factor Returns a scale matrix

Meta