3d transform
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef SHADER_H
|
||||
#define SHADER_H
|
||||
#include <glad/glad.h>
|
||||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
|
||||
class Shader {
|
||||
@@ -10,6 +11,7 @@ public:
|
||||
void use();
|
||||
void setInt(const std::string &name, int value);
|
||||
void setFloat(const std::string &name, float value);
|
||||
void setMat4(const std::string &name, glm::mat4 value);
|
||||
|
||||
private:
|
||||
unsigned int ID;
|
||||
|
||||
Reference in New Issue
Block a user