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

Method loadLight

src/Shaders/BillboardShader.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void BillboardShader::loadLight(Light board_light) {
38 loadVec4(lightColourLocation, board_light.colour);
39 loadVec3(billboardPosLocation, board_light.position);
40 loadBillboardTexture();
41}
42
43void BillboardShader::loadMatrices(const glm::mat4 &projection, const glm::mat4 &view, const glm::mat4 &transformation) {
44 loadMat4(viewMatrixLocation, &view[0][0]);

Callers 1

renderLightsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected