MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / SetVector2

Method SetVector2

apps/Viewer/Shader.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void Shader::SetVector2(const std::string& name, const Eigen::Vector2f& vector) {
88 glUniform2fv(GetUniformLocation(name), 1, vector.data());
89}
90
91void Shader::SetFloat(const std::string& name, float value) {
92 glUniform1f(GetUniformLocation(name), value);

Callers 1

RenderSelectionMethod · 0.80

Calls 1

dataMethod · 0.80

Tested by

no test coverage detected