mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
GLM-related Shader.uniformNf overloads
This commit is contained in:
parent
47e24cb468
commit
bcecdc9b60
4 changed files with 22 additions and 5 deletions
|
|
@ -16,7 +16,9 @@ public:
|
|||
void uniform1i(std::string name, int x);
|
||||
void uniform1f(std::string name, float x);
|
||||
void uniform2f(std::string name, float x, float y);
|
||||
void uniform2f(std::string name, glm::vec2 xy);
|
||||
void uniform3f(std::string name, float x, float y, float z);
|
||||
void uniform3f(std::string name, glm::vec3 xyz);
|
||||
};
|
||||
|
||||
extern Shader* load_shader(std::string vertexFile, std::string fragmentFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue