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

Method loadMatrices

src/Shaders/BillboardShader.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void BillboardShader::loadMatrices(const glm::mat4 &projection, const glm::mat4 &view, const glm::mat4 &transformation) {
44 loadMat4(viewMatrixLocation, &view[0][0]);
45 loadMat4(projectionMatrixLocation, &projection[0][0]);
46 loadMat4(transformationMatrixLocation, &transformation[0][0]);
47}
48
49
50void BillboardShader::customCleanup() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected