3d transform
This commit is contained in:
parent
987961cfe4
commit
335c79e23e
4 changed files with 40 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue