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

Method loadSpecular

src/Shaders/TrackShader.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void TrackShader::loadSpecular(float damper, float reflectivity){
73 loadFloat(shineDamperLocation, damper);
74 loadFloat(reflectivityLocation, reflectivity);
75}
76
77void TrackShader::loadProjectionViewMatrices(const glm::mat4 &projection, const glm::mat4 &view){
78 loadMat4(viewMatrixLocation, &view[0][0]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected