MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / loadVec2

Method loadVec2

src/Shaders/BaseShader.cpp:208–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void BaseShader::loadVec2(GLint location, glm::vec2 value){
209 glUniform2f(location, value.x, value.y);
210}
211
212void BaseShader::loadMat4(GLint location, const GLfloat *value){
213 glUniformMatrix4fv(location, 1, GL_FALSE, value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected