MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / is_leaf

Method is_leaf

Simulation/kdTree.h:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 Node() = default;
35
36 bool is_leaf() const { return children[0] < 0 && children[1] < 0; }
37
38 // Index of child nodes in nodes array.
39 // -1 if child does not exist.

Callers 4

findRefTetAtMethod · 0.80
traverseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected