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

Function Complexity

engine/Poseidon/World/Scene/SceneDraw.cpp:983–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981 // make sure ordering is stable
982 dif = o0->distance2 - o1->distance2;
983 if (dif < 0)
984 return +1;
985 if (dif > 0)
986 return -1;
987 return CmpShapeObj(p1, p0);
988}
989

Callers 2

FindLevelWithComplexityFunction · 0.85
AdjustComplexityMethod · 0.85

Calls 2

LevelMethod · 0.80
NFacesMethod · 0.45

Tested by

no test coverage detected