Revamped model loading interface.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef Texture_h__
|
||||
#define Texture_h__
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <GL/glew.h>
|
||||
#define GLFW_INCLUDE_GLU
|
||||
#include <GLFW/glfw3.h>
|
||||
@@ -10,13 +12,13 @@
|
||||
class Texture
|
||||
{
|
||||
public:
|
||||
Texture(const char* path);
|
||||
Texture(std::string path);
|
||||
|
||||
~Texture();
|
||||
|
||||
GLuint texture;
|
||||
|
||||
void Load(const char* path);
|
||||
void Load(std::string path);
|
||||
void Bind();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user