summaryrefslogtreecommitdiff
path: root/glgfx.h
blob: ec40f88be21b6a02181478fe1657f9a0d7c536a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GLGFX_H
#define GLGFX_H
#include "GL/glew.h"
#include "SOIL/SOIL.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, float s);
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();
int glgfxloadtexture (const char * file);
std::string readfile(const char *);
#endif