translation

Moves the matrix along the specified axes by the specified amount.

@safe nothrow pure
float[4][4]
translation
(
float x
,
float y
,
float z
)

Parameters

x float

X-axis move factor.

y float

Y-axis move factor.

z float

Z-axis move factor.

Return Value

Type: float[4][4]

Moved matrix.

See Also

$(HREF https://en.wikipedia.org/wiki/Translation_(geometry), Translation (geometry) - Wikipedia)

$(TRANSLATE_IMG)

Meta