|x||1 0 0 a| = |x+a|
|y||0 1 0 b| |y+b|
|z||0 0 1 c| |z+c|
|1||0 0 0 1| |1 |
In this example we moved the point (x,y,z) to the point(x+a, y+b, z+c). This can only be done with a 4 x 4 matrix.
|cos(30) -sin(30) 0 0| multiply The Matrix above.
|sin(30) cos30 0 0|
|0 0 1 0|
|0 0 0 1|
This will give you a rotation and translation of a point.