openclonk/src/landscape/fow
Peter Wortmann d976a4b2a7 Reworked CalculateTriangles, fixed descend collision
Descend collision was broken because of two reasons - one complicated and
one easy. Firstly, we would not re-visit beams after eliminations if they
were closer to the light source than the remaining beam. Especially nasty
because the comments claimed the opposite. Secondly, the coordinates
passed to find_cross were actually flipped.

I took the opportunity to clean up the control structure a bit, update
the comments (brr), and fix the bug in one swoop.
2015-02-22 23:12:12 +01:00
..
C4FoW.cpp Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoW.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWAmbient.cpp Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWAmbient.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWBeam.cpp Log all relevant data for reproduction on tri.fanRY > tri.fanLY assertion. 2015-02-17 01:31:10 +01:00
C4FoWBeam.h Implement loading of serialized light sections. 2015-02-17 21:05:52 +01:00
C4FoWBeamTriangle.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWDrawStrategy.cpp Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWDrawStrategy.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWLight.cpp Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWLight.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWLightSection.cpp Reworked CalculateTriangles, fixed descend collision 2015-02-22 23:12:12 +01:00
C4FoWLightSection.h Log all relevant data for reproduction on tri.fanRY > tri.fanLY assertion. 2015-02-17 01:31:10 +01:00
C4FoWRegion.cpp Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00
C4FoWRegion.h Add copyright header to files that were missing it 2015-02-16 18:40:52 +01:00