Projectiles (Bullets) using OpenGL/Glut

Compiled using Code::Blocks 13.12 in Ubuntu 14: Build options -> Linker Settings (Other Linker Options): -lGL -lGLU -lglut Properties -> Build Targets (Type): GUI Application The following code changes and additions are based off the code posted in Movement using OpenGL/Glut. New defines, structures, and global variables added. [code language=”c”] #define SPACEBAR 32 #define MAX_BULLET_ON_SCREEN … Read more

Movement using OpenGL/Glut

Compiled using Code::Blocks 13.12 in Ubuntu 14: Build options -> Linker Settings (Other Linker Options): -lGL -lGLU -lglut Properties -> Build Targets (Type): GUI Application Movement.c is a program that draws a triangle on screen and accepts user input that moves/rotates the triangle. It is written in C using OpenGL/GLUT libraries. This post does not … Read more