powered by
Create a 4 by 4 translation matrix
TRANmat(x, y, z)
Matrix suitaqble for translating a 3D body.
x-translation
y-translation
z-translation
Jonathan M. Lees <jonathan.lees@unc.edu>
Rogers and Adams, 1990, Mathematical Elements for Computer Graphics, McGraw-Hill, 611p.
ROTX, ROTZ, ROTY
zT = TRANmat(5, 4, 2)
Run the code above in your browser using DataLab