Jump to content
Posted 08 August 2012 - 09:01 AM
Posted 08 August 2012 - 12:05 PM
getEntitiesInRectangle(Node node, Rectangle rect, List output) if node is leaf: for every entity e in node: if rect contains/intersects e: add e to output; else for every child n in node: if rect contains/intersects n: call getEntitiesInRectangle(n, rect, output)
Edited by lwm, 08 August 2012 - 12:06 PM.
current project: Roa