alecgl_old/sfml20test/DebugRect.h
Alec Obradovich 03f7d95b13 fuckmess
what is this nonsense
2015-04-08 16:35:21 -05:00

35 lines
624 B
C++

#ifndef DEBUGRECTH
#define DEBUGRECTH
#define SFML_STATIC
#define GLEW_STATIC
#include <SFML/Graphics.hpp>
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include "Texture.h"
#include "ShaderManager.h"
namespace agl {
class DebugRect {
static GLuint vbuf, tbuf, vao, sample;
static GLint uDepthMap;
static float *vdata;
static float *tdata;
static agl::ShaderProgram sp;
static agl::Texture tx;
public:
static void initShader();
static void render();
static void destroy();
};
}
#endif