Skip to content

Instantly share code, notes, and snippets.

@Mjiig
Mjiig / cube.c
Created March 1, 2012 20:46
OpenGL cube
/*stdlibs we need*/
#include <stdio.h>
#include <math.h>
/*basic allegro functions to give us a window and an OpenGL context*/
#include <allegro5/allegro.h>
/*all matrix maths functions*/
#include "matrix.h"