| 17 | } |
| 18 | |
| 19 | void RaceNetShader::getAllUniformLocations() { |
| 20 | // Get handles for uniforms |
| 21 | transformationMatrixLocation = getUniformLocation("transformationMatrix"); |
| 22 | projectionMatrixLocation = getUniformLocation("projectionMatrix"); |
| 23 | colourLocation = getUniformLocation("spriteColour"); |
| 24 | } |
| 25 | |
| 26 | void RaceNetShader::loadProjectionMatrix(const glm::mat4 &projection) { |
| 27 | loadMat4(projectionMatrixLocation, &projection[0][0]); |
nothing calls this directly
no outgoing calls
no test coverage detected