powered by
Create a 4 by 4 translation matrix
TRANmat(x, y, z)
x-translation
y-translation
z-translation
Matrix suitaqble for translating a 3D body.
Rogers and Adams, 1990, Mathematical Elements for Computer Graphics, McGraw-Hill, 611p.
ROTX, ROTZ, ROTY
# NOT RUN { zT = TRANmat(5, 4, 2) # }
Run the code above in your browser using DataLab