I am trying to understand the Quake3's source code.
Does anyone know what the function R_MarkLeaves() in ( tr_world.c) file is doing?
I think this has to do something with portal culling ?
I need to know how this works so i can also implement this in my code to speed up the rendering.