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

Method loadVec3

src/Shaders/BaseShader.cpp:204–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void BaseShader::loadVec3(GLint location, glm::vec3 value){
205 glUniform3f(location, value.x, value.y, value.z);
206}
207
208void BaseShader::loadVec2(GLint location, glm::vec2 value){
209 glUniform2f(location, value.x, value.y);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected