Skip to content

Commit

Permalink
Tiny comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolthulhu committed Jan 1, 2016
1 parent 7393730 commit ccf72ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lightmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ void cast_zlight(
if( check( current_transparency, last_intensity ) ) {
float next_cumulative_transparency =
((distance - 1) * cumulative_transparency + current_transparency) / distance;
// Blocks can be merged if they are actually a single rectangle
// rather than rectangle + line shorter than rectangle's width
const bool merge_blocks = end_minor <= trailing_edge_minor;
// trailing_edge_major can be less than start_major
const float trailing_clipped = std::max( trailing_edge_major, start_major );
Expand Down

0 comments on commit ccf72ac

Please sign in to comment.