- GLUTによる「手抜き」OpenGL入門
- http://www.wakayama-u.ac.jp/~tokoi/opengl/libglut.html
- 学内ミラー ※有難く使わせて頂きます.
- Cygwin 環境でのコンパイル例: これで Windows ネイティブの実行ファイルができます.
shell> c++ -mwindows -mno-cygwin program.cpp -lglut32 -lglu32 -lopengl32
- 数値積分との組み合わせ方:
Rkg.h
anim_rkg.cpp
shell> ls Rkg.h anim_rkg.cpp shell> c++ -mwindows -mno-cygwin anim_rkg.cpp -lglut32 -lglu32 -lopengl32 -lm shell> ls Rkg.h a.exe anim_rkg.cpp
- クォータニオンによる剛体運動の計算例:
quattop.cc