MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / setLightPosition

Method setLightPosition

examples/OpenGLWindow/GLInstancingRenderer.cpp:1543–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1541}
1542
1543void GLInstancingRenderer::setLightPosition(const float lightPos[3])
1544{
1545 m_data->m_lightPos[0] = lightPos[0];
1546 m_data->m_lightPos[1] = lightPos[1];
1547 m_data->m_lightPos[2] = lightPos[2];
1548}
1549
1550void GLInstancingRenderer::setShadowMapIntensity(double shadowMapIntensity)
1551{

Calls

no outgoing calls

Tested by

no test coverage detected