OpenGL_Clock/Include/clock.h

33 lines
492 B
C
Raw Permalink Normal View History

2018-04-15 22:40:13 +00:00
#ifndef CLOCK_H
#define CLOCK_H
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
2018-04-27 15:03:40 +00:00
#include <time.h>
2018-04-15 22:40:13 +00:00
#include <unistd.h>
// Include GLEW
#include <GL/glew.h>
// Include GLFW
#include <GLFW/glfw3.h>
// Include project headers
2018-04-22 22:40:31 +00:00
#include <model.h>
2018-04-15 22:40:13 +00:00
#include <matrix.h>
2018-04-22 22:40:31 +00:00
#include <shader.h>
2018-04-15 22:40:13 +00:00
// Define macros
#define xfree(p) if (p) free((void *)p)
// Declare functions
int clock_init(GLFWwindow **);
2018-04-22 22:40:31 +00:00
int clock_run(GLFWwindow *);
2018-04-15 22:40:13 +00:00
#endif
2018-04-22 22:40:31 +00:00