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

Method loadProjectionViewMatrices

src/Shaders/TrackShader.cpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void TrackShader::loadProjectionViewMatrices(const glm::mat4 &projection, const glm::mat4 &view){
78 loadMat4(viewMatrixLocation, &view[0][0]);
79 loadMat4(projectionMatrixLocation, &projection[0][0]);
80}
81
82void TrackShader::loadTransformMatrix(const glm::mat4 &transformation){
83 loadMat4(transformationMatrixLocation, &transformation[0][0]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected