MCPcopy Create free account
hub / github.com/Hopson97/HopsonCraft / loadMatrix4

Method loadMatrix4

Source/Shaders/Shader_Program.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void Shader_Program::loadMatrix4(GLuint location, const Matrix4& matrix)
42 {
43 glUniformMatrix4fv(location, 1, GL_FALSE, glm::value_ptr(matrix));
44 }
45
46
47 GLuint Shader_Program::getID() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected