29 lines
425 B
C
29 lines
425 B
C
|
#ifndef CLOCK_H
|
||
|
#define CLOCK_H
|
||
|
|
||
|
// Include standard headers
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
#include <math.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
// Include GLEW
|
||
|
#include <GL/glew.h>
|
||
|
|
||
|
// Include GLFW
|
||
|
#include <GLFW/glfw3.h>
|
||
|
|
||
|
// Include project headers
|
||
|
#include <shader.h>
|
||
|
#include <matrix.h>
|
||
|
|
||
|
// Define macros
|
||
|
#define xfree(p) if (p) free((void *)p)
|
||
|
|
||
|
// Declare functions
|
||
|
|
||
|
int clock_init(GLFWwindow **);
|
||
|
|
||
|
#endif
|