fun translate(x: Float, y: Float, z: Float) { val tmp = Matrix4f() tmp.loadTranslate(x, y, z) multiply(tmp) }
Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions