MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / enable

Method enable

testbed/opengl-framework/src/Light.h:119–126  ·  view source on GitHub ↗

Enable the light

Source from the content-addressed store, hash-verified

117
118// Enable the light
119inline void Light::enable() {
120
121 mIsActive = true;
122
123 // Enable the light
124 //glEnable(GL_LIGHTING);
125 //glEnable(GL_LIGHT0 + mLightID);
126}
127
128// Disable the light
129inline void Light::disable() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected