Open nikhilghosh75 opened 2 months ago
Nice, I'll take a look over the weekend :)
I only found a few minor issues with this and a have restructering reques. It already looks quite nice! You also have to rebase and resolve the merge conflicts.
can't we calculate a containing circle for each object on creation and when resizing it? then we only have to check one coordinate/distance for each object to cull it.
I think that would be a bit more complicated since we would have to calculate it for every animation sprite and not just per object. And then we also have to apply zoom scaling...
Implemented Frustum Culling into the renderer. Currently only applies to the world renderer. The camera has a frustum data structure to allow it to cull objects outside the frustum.
An additional stresstest has been created for the renderer to test out frustum culling.
Additional fixes to loading files on windows that have the special \r character are also included in this pull request.