code cleanup

This commit is contained in:
k
2025-01-07 17:01:12 -05:00
parent 8f7ca3ae38
commit 8885b40709
3 changed files with 96 additions and 109 deletions

View File

@@ -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*/