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

Method loadProjectionViewMatrices

src/Shaders/CarShader.cpp:121–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void CarShader::loadProjectionViewMatrices(const glm::mat4 &projection, const glm::mat4 &view){
122 loadMat4(viewMatrixLocation, &view[0][0]);
123 loadMat4(projectionMatrixLocation, &projection[0][0]);
124}
125
126void CarShader::loadTransformationMatrix(const glm::mat4 &transformation){
127 loadMat4(transformationMatrixLocation, &transformation[0][0]);

Callers 2

renderTrackMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected