Revision 427164fb
Added by danij over 12 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- engine.pro (diff)
- portable
- include
- bspleaf.h (diff)
- mapdata.hs (diff)
- p_maptypes.h (diff)
- r_world.h (diff)
- src
- bspleaf.c
- bspleaf.cpp
- dam_file.c (diff)
- edit_map.c (diff)
- r_world.c (diff)
- rend_bias.c (diff)
- rend_fakeradio.c (diff)
- rend_main.c (diff)
- s_environ.c (diff)
- include
- engine
BspLeaf: Removed array of fvertex_t allocated for each leaf
As we are presently copying the vertex coordinates into a write
buffer before adding them to the render lists there is no point
duplicating the vertex pointers. We can easily derive the order
and populate the vertex write buffer directly by navigating the
ring of HEdges linked to BspLeaf.
We now determine the HEdge to use as a base and record that in
BspLeaf instead. The rest of the order can be determined from
the base and the arguments used at geometry write time.
Todo for later: Cache final vertex coordinates for all geometry
sets (all planes and both sky caps) in BspLeaf.