Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function qt_search(qt as QuadTree ptr, result as QTresult ptr, area as Rect) as boolean
- if(result->n = 0) then
- 'First search entry point
- #define SMAS 1024 'Search memory allocation size
- result->n = new QTnode[SMAS]
- end if
- dim as boolean ret = false
- if(rectIntersects(@area, @qt->boundary)) then
- end if
- return ret
- end function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement