Rotating triangle in 3D space

Not sure of many things. Needs to be parsed.