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

Function ToggleAutoRotate

tools/assimp_view/MessageProc.cpp:233–237  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Toggle the "AutoRotate" state -------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

231// Toggle the "AutoRotate" state
232//-------------------------------------------------------------------------------
233void ToggleAutoRotate() {
234 g_sOptions.bRotate = !g_sOptions.bRotate;
235 storeRegKey(g_sOptions.bRotate, "AutoRotate");
236 UpdateWindow(g_hDlg);
237}
238
239//-------------------------------------------------------------------------------
240// Toggle the "FPS" state

Callers 2

MessageProcFunction · 0.85
_tWinMainFunction · 0.85

Calls 1

storeRegKeyFunction · 0.85

Tested by

no test coverage detected