Source code


I’m looking for some source code for a basic ferris wheel.

Or failing that just a wheel rotating. I’m guessing this can be very easily done in Opengl. But hey, I’m new…


for simple rotating objects like wheels try:

glRotatef(5.0f,0.0f,1.0f,0.0f); 1 Y
glRotatef(5.0f,1.0f,0.0f,0.0f); 2 X
glRotatef(5.0f,0.0f,0.0f,1.0f); 3 Z
(use only one version, each is for a different perspective)

have fun