I need to rotate an object on a plane which is set by the points: (0,0,0), (0,0,height), (x,y,z).
I will receive height, x, y and z as input.
The function glRotate requires angle, x, y, z parameters. How can I rotate an object on the given plane?
Any help would be highly appreciated!