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

Class SkylineNode

source/rect_packing.cpp:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64// ***********************************************************************
65
66struct SkylineNode {
67 i32 x, y, width;
68};
69
70i32 CanRectFit(ResizableArray<SkylineNode>& nodes, i32 atNode, i32 rectWidth, i32 rectHeight, i32 width, i32 height) {
71 // See if there's space for this rect at node "atNode"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected