MCPcopy Create free account
hub / github.com/assimp/assimp / ToggleMultipleLights

Function ToggleMultipleLights

tools/assimp_view/MessageProc.cpp:251–254  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Toggle the "2 Light sources" state -------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

249// Toggle the "2 Light sources" state
250//-------------------------------------------------------------------------------
251void ToggleMultipleLights() {
252 g_sOptions.b3Lights = !g_sOptions.b3Lights;
253 storeRegKey(g_sOptions.b3Lights, "MultipleLights");
254}
255
256//-------------------------------------------------------------------------------
257// Toggle the "LightRotate" state

Callers 2

MessageProcFunction · 0.85
_tWinMainFunction · 0.85

Calls 1

storeRegKeyFunction · 0.85

Tested by

no test coverage detected