make a item and motion in openGL using C++
you can compile using Dev-C in Windows
- Make new project using C++
- Copy vaste this source
- Add linker in parameter, add library or project ../lib/libopengl32.a ../lib/libglu32.a ../lib/libglut32.
- Compile
and you can compile in Linux
- add or clone this source to your directory
- compile using CLI
- g++ -lglib -lGL -lGLU -lGEW test.cpp -o mainTest
- Run using CLI
- ./mainTest