code cleanup
This commit is contained in:
@@ -46,8 +46,8 @@ void Shader::setFloat(const std::string &name, float value) {
|
||||
}
|
||||
|
||||
void Shader::setMat4(const std::string &name, glm::mat4 value) {
|
||||
glUniformMatrix4fv(glGetUniformLocation(ID, name.c_str()), 1, GL_FALSE, glm::value_ptr(value));
|
||||
|
||||
glUniformMatrix4fv(glGetUniformLocation(ID, name.c_str()), 1, GL_FALSE,
|
||||
glm::value_ptr(value));
|
||||
}
|
||||
|
||||
/*priv*/
|
||||
|
||||
Reference in New Issue
Block a user