MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetQualityText

Method GetQualityText

engine/Poseidon/World/Scene/Scene.cpp:606–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604 _lastScaleWorseTime = UITIME_MIN;
605}
606
607RString Scene::GetQualityText() const
608{
609 char buffer[256];
610 float minQ = -10 * log10(_minLodInvWidth);
611 float maxQ = -10 * log10(_maxLodInvWidth);
612
613 snprintf(buffer, sizeof(buffer), "%.0f..%.0f", maxQ, minQ);
614
615 return buffer;
616}
617RString Scene::GetFrameRateText() const
618{

Callers 1

OnSliderPosChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected