I've coded a 3D plotter, which takes the 3 x,y,z co-ordinates and puts them to the screen. I've made a cube but I can only move the camera x,y,z I want to make the camera be able to rotate it's viewpoint along x axis (or y axis, both are the same), what is the technique for doing this?
or the technique for rotating the cube?
Someone must know the technique, I've seen so many rotating cube demos in my life. Does it involve the equation of a circle?