Resets matrix to the (tx, ty, tz) translation matrix:
.xx=1; .xy=0; .xz=0; .xw=tx;
.yx=0; .yy=1; .yz=0; .yw=ty;
.zx=0; .zy=0; .zz=1; .zw=tz;
.wx=0; .wy=0; .wz=0; .ww=1;
this |
A 4x4 transformation matrix |
tx |
x coordinate of the translation vector |
ty |
y coordinate of the translation vector |
tz |
z coordinate of the translation vector |