MCPcopy Create free account
hub / github.com/DavidColson/Polybox / SortByHeight

Class SortByHeight

source/rect_packing.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5// ***********************************************************************
6
7struct SortByHeight {
8 bool operator()(const Rect& a, const Rect& b) {
9 return a.h < b.h;
10 }
11};
12
13// ***********************************************************************
14

Callers 2

RowPackRectsMethod · 0.85
SkylinePackRectsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected