MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / LoadSettings

Method LoadSettings

samples/hmd_opencv_sandbox/camera_app.cpp:349–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349void CameraApp::LoadSettings( int demono )
350{
351 // callers like circular wrapping
352 demono = ( demono % NUM_SAVED_SETTINGS + NUM_SAVED_SETTINGS ) % NUM_SAVED_SETTINGS;
353 dprintf( 0, "Loading settings %d\n", demono );
354 settings = g_savesettings[demono];
355 m_lastLoadedSettingsID = demono;
356}
357
358void CameraApp::KeyDown( int32_t c )
359{

Callers

nothing calls this directly

Calls 1

dprintfFunction · 0.70

Tested by

no test coverage detected