scaleMat

Creates a not uniform 3d scale matrix

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

Parameters

x T

X axis scale

y T

Y axis scale

z T

Z axis scale Returns a scale matrix

Meta