MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / sortByDistSquared

Function sortByDistSquared

source/gamemap/TileContainer.cpp:326–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324};
325
326bool sortByDistSquared(const TileDistance& tileDist1, const TileDistance& tileDist2)
327{
328 return tileDist1.getDistSquared() < tileDist2.getDistSquared();
329}
330
331TileContainer::TileContainer(int initTileDistance):
332 mMapSizeX(0),

Callers

nothing calls this directly

Calls 1

getDistSquaredMethod · 0.80

Tested by

no test coverage detected