MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / loadMatrices

Method loadMatrices

src/Shaders/SkydomeShader.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void SkydomeShader::loadMatrices(const glm::mat4 &projection, const glm::mat4 &view, const glm::mat4 &transformation) {
41 loadMat4(viewMatrixLocation, &view[0][0]);
42 loadMat4(projectionMatrixLocation, &projection[0][0]);
43 loadMat4(transformationMatrixLocation, &transformation[0][0]);
44}
45
46void SkydomeShader::loadStarRotationMatrix(const glm::mat4 &star_rotation_matrix){
47 loadMat4(starRotationMatrixLocation, &star_rotation_matrix[0][0]);

Callers 2

renderLightsMethod · 0.45
renderSkyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected