MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / UpdateMoveStep

Method UpdateMoveStep

samples/luxcoreui/luxcoreapp.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 return 2;
112}
113void LuxCoreApp::UpdateMoveStep() {
114 float pMin[3], pMax[3];
115 config->GetScene().GetBBox(pMin, pMax);
116 const int maxExtent = MaximumExtent(pMin, pMax);
117
118 const float worldSize = Max(pMax[maxExtent] - pMin[maxExtent], .001f);
119 optMoveStep = optMoveScale * worldSize / 50.f;
120}
121
122void LuxCoreApp::IncScreenRefreshInterval() {
123 const unsigned int screenRefreshInterval = config->ToProperties().Get("screen.refresh.interval").Get<unsigned int>();

Callers

nothing calls this directly

Calls 3

MaximumExtentFunction · 0.85
MaxFunction · 0.85
GetBBoxMethod · 0.45

Tested by

no test coverage detected