_vim_

util.h

Dec 19th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #ifndef UTIL_H
  2. #define UTIL_H
  3.  
  4. #include <stdio.h>
  5. #include <GLFW/glfw3.h>
  6.  
  7. #define MAX(a, b) (((a) > (b)) ? (a) : (b))
  8. #define MIN(a, b) (((a) < (b)) ? (a) : (b))
  9.  
  10. int file_size(FILE *fp);
  11. char *file_contents(const char *name);
  12. void perspective(GLdouble fovY, GLdouble aspect, GLdouble zNear, GLdouble zFar);
  13.  
  14. #endif
Add Comment
Please, Sign In to add comment