translateMat

Creates a translation matrix from xyz coords

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

Parameters

x T

X coord

y T

Y coord

z T

Z coord Returns a translation matrix

Meta