hmmm…maybe ask the author. phi may be rotation about Z axis (roll). xt, yt, zt may be position after a certain time. dtheta may be the timne since the last update (used to calculate xt, yt, zt). htail, vtail - no idea.
Originally posted by nexusone:
[b]Also compile the program and watch the fish… will give you an idea of the movement.
Also look at the data that is supplied to the structure.
h/vtail maybe tail fin movement…
[/b]
I tried to compile the program in VC++, but it was not success. Is that the source code can be compiled in sgi only?
I also can’t run the demo executable file, it beeps me that I need glut.dll, glu.dll, and opengl.dll…Is that the exe file can’t run in windows environment?
Is it a GLUT demo? You are trying to compile a windows program but you have not declared WinMain in the program. The code compiles fine it’s how you’ve set up the project that’s wrong.
If it uses glut than it has a main() function, so compile your project to be a Windows console application instead, and make sure to link in the glut libraries.