| 77 | } |
| 78 | |
| 79 | void OurShader::SetTexture(Texture* t) { |
| 80 | MY_ASSERT(mPreparedVertexBuf != NULL); |
| 81 | t->Bind(GL_TEXTURE0); |
| 82 | glUniform1i(mSamplerLoc, 0); |
| 83 | } |
| 84 | |
| 85 | void OurShader::EnablePointLight(glm::vec3 pos, float r, float g, float b) { |
| 86 | MY_ASSERT(mPreparedVertexBuf != NULL); |
no test coverage detected