translate


Description:

public void translate (float x, float y, float z)

Multiplies the current matrix by one that translates along all three axes according to the given values.

Parameters:

this

A MatrixStack

x

Distance to translate along the x-axis

y

Distance to translate along the y-axis

z

Distance to translate along the z-axis