Initial commit
This commit is contained in:
26
application/source/engine/texture2D.c
Normal file
26
application/source/engine/texture2D.c
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
|
||||
#include <GL/glext.h>
|
||||
|
||||
#include <GL/gl.h> // GL 1.1 functions
|
||||
|
||||
#include <GL/glx.h>
|
||||
|
||||
#include "vector2.h"
|
||||
|
||||
|
||||
class texture2D{
|
||||
|
||||
GLubyte * data;
|
||||
|
||||
int width;
|
||||
|
||||
int height;
|
||||
|
||||
int hasAlpha;
|
||||
|
||||
vector2 * offset;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user