| 239 | } |
| 240 | |
| 241 | void setUniformVector3(const std::string& name, GLfloat value[3]) |
| 242 | { |
| 243 | GLint idx = gl()->glGetUniformLocation(program, name.c_str()); |
| 244 | if (idx == -1) return; |
| 245 | |
| 246 | gl()->glUniform3fv(idx, 1, value); |
| 247 | } |
| 248 | |
| 249 | void setUniformMatrix3(const std::string& name, GLfloat value[9]) |
| 250 | { |
nothing calls this directly
no outgoing calls
no test coverage detected