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

34 lines
No EOL
562 B
C++

#ifndef NOISEH
#define NOISEH
#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>
namespace agl {
class NoiseReader {
GLuint vao, vbuf, nbuf, tbuf;
int rnum;
float *vertexData;
float *normalData;
float *texData;
float avgPixel(sf::Color);
public:
NoiseReader(){};
NoiseReader(char *);
int loadFromFile(char *);
void Render();
~NoiseReader();
};
};
#endif