MCPcopy Create free account
hub / github.com/comaps/comaps / GetMinDrawableScaleClassifOnly

Function GetMinDrawableScaleClassifOnly

libs/indexer/feature_visibility.cpp:334–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332*/
333
334int GetMinDrawableScaleClassifOnly(TypesHolder const & types)
335{
336 int constexpr upBound = scales::GetUpperStyleScale();
337
338 for (int level = 0; level <= upBound; ++level)
339 if (IsDrawableForIndexClassifOnly(types, level))
340 return level;
341
342 return -1;
343}
344
345namespace
346{

Callers 3

GetVillagesScaleFunction · 0.85
operator()Method · 0.85
UNIT_CLASS_TESTFunction · 0.85

Calls 2

GetUpperStyleScaleFunction · 0.85

Tested by 1

UNIT_CLASS_TESTFunction · 0.68