MaverickHL
06-02-2001, 07:27 PM
I tried asking the beginners section about my project but did not get a lot of response. I was wondering if there is a way to build a sphere and a cylinder and make both of them work simulateosly to simulate a pendulum using calculated values from a Runge Kutta equation which depended on:
gravity, omega, length of the pendulum, mass of pendulum, and step size. If so how would I setup the OpenGL code in the drawing function to accept the values to plot the x and y coordinates for its movements.
gravity, omega, length of the pendulum, mass of pendulum, and step size. If so how would I setup the OpenGL code in the drawing function to accept the values to plot the x and y coordinates for its movements.