aboutsummaryrefslogtreecommitdiff
path: root/examples/scene-graph.c
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2021-10-13 16:00:53 +0200
committerSimon Ser <contact@emersion.fr>2021-10-14 21:10:03 +0200
commit2a8d3853867c42570ae094df1335d7dfe0a4c71d (patch)
tree1ee592bd38a0eca71d5a2e9f854b8a97489588bc /examples/scene-graph.c
parentdc22a0618445bea41308422b3cb050eb19dc9fd6 (diff)
scene: assert that node != sibling in place above/below
Currently these functions remove the node from the scene if the sibling argument is the same node as the node. To prevent confusion when misusing this API, assert that the nodes are distinct and document this.
Diffstat (limited to 'examples/scene-graph.c')
0 files changed, 0 insertions, 0 deletions