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

Method loadVector2

Source/Shaders/Shader_Program.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void Shader_Program::loadVector2(GLuint location, const Vector2& vector)
37 {
38 glUniform2f(location, vector.x, vector.y);
39 }
40
41 void Shader_Program::loadMatrix4(GLuint location, const Matrix4& matrix)
42 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected