Effectively, theres no need to constantly iterate through all of the BSP tree for things that dont move horizontally, since not moving means the sector/subsector also does not change
So just reuse the subsector from before in such cases
Idk how much faster this is if at all though this needs a little testing
Effectively, theres no need to constantly iterate through all of the BSP tree for things that dont move horizontally, since not moving means the sector/subsector also does not change
So just reuse the subsector from before in such cases
Idk how much faster this is if at all though this needs a little testing
forgor to mention, also added an optimization so all the checkposition things dont iterate the whole blockmap everytime theyre called in search for polyobjects if there are no polyobjects present at all on the map
forgor to mention, also added an optimization so all the checkposition things dont iterate the whole blockmap everytime theyre called in search for polyobjects if there are no polyobjects present at all on the map
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Effectively, theres no need to constantly iterate through all of the BSP tree for things that dont move horizontally, since not moving means the sector/subsector also does not change
So just reuse the subsector from before in such cases
Idk how much faster this is if at all though this needs a little testing
forgor to mention, also added an optimization so all the checkposition things dont iterate the whole blockmap everytime theyre called in search for polyobjects if there are no polyobjects present at all on the map