Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cc9c90d2bc
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 0.535 kb
#ifndef TOOLS_H
#define TOOLS_H
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <unistd.h>
#include <stdint.h>
#include <string.h>
#include "itoa.h"
#ifdef __APPLE__
#include <OpenGL/OpenGL.h>
#include <GL/freeglut.h>
#else
#include <GL/glew.h>
#include <GL/freeglut.h>
#endif
#define PI 3.14159265
#define deg2rad(x) ((PI*(x))/(180.0))
#define bool uint8_t
#define true 1
#define false 0
// Global status things.
extern int mouseX;
extern int mouseY;
extern int key[256];
extern int specialKey[256];
#endif
Jump to Line
Something went wrong with that request. Please try again.