summaryrefslogtreecommitdiff
path: root/glgfx.h
blob: 0cb1ff932aac165429111b14ff6593002a4721ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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();
std::string readfile(const char *);
#endif