why some children index in bsp node negative?

Node 2
Plane index : 40
Children index : -2 3

You implemented the bsp so u should know better.

i dont lol

Maybe negative numbers means leaf index and positive are internal nodes… who knows

no man its just means that the child node is a leaf lol
figured it out alrady