Transformations

Transformations are functions that take a position and return a new position

	newpos = ApplyRotation(oldpos)

All GL transformations (translate, rotate, scale) are simple operations on the (X, Y, Z) values of points

Translation is addition of an offset. e.g. to translate by (-1, 0, 3):

	newx = oldx + -1
	newy = oldy + 0
	newz = oldz + 3
or
	| x |     | x |     | -1 |
	| y |  =  | y |  +  | 0  |
	| z |     | z |     | 3  |