summaryrefslogtreecommitdiff
path: root/glgfx.h
blob: eccb33b304365bd8f96af422315f26a5e079afde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GLGFX_H
#define GLGFX_H
#include "GL/glew.h"
#include "GL/gl.h"
#include "gfx.h"
#include <iostream>
#include <fstream>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
int initglgfx();
int genshaders();
int drawmodel(float x, float y, float z, float xr, float yr, float zr);
int setcam (float cpx, float cpy, float cpz, float clx, float cly, float clz, float cux, float cuy, float cuz);
int setlight (float x, float y, float z);
int quitglgfx();
int clearglgfx();
std::string readfile(const char *);
#endif