Skip to content

Commit

Permalink
Remove unnecessary declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed Jul 5, 2019
1 parent f7fe745 commit 044de0d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/shadowcasting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,6 @@ struct span {
bool skip_first_row;
};

// Add defaults for when method is invoked for the first time.
template<int xx, int xy, int xz, int yx, int yy, int yz, int zz, typename T,
T( *calc )( const T &, const T &, const int & ),
bool( *check )( const T &, const T & ),
T( *accumulate )( const T &, const T &, const int & )>
void cast_zlight_segment(
const std::array<T( * )[MAPSIZE_X][MAPSIZE_Y], OVERMAP_LAYERS> &output_caches,
const std::array<const T( * )[MAPSIZE_X][MAPSIZE_Y], OVERMAP_LAYERS> &input_arrays,
const std::array<const bool ( * )[MAPSIZE_X][MAPSIZE_Y], OVERMAP_LAYERS> &floor_caches,
const tripoint &offset, const int offset_distance,
const T numerator = 1.0f );

template<int xx, int xy, int xz, int yx, int yy, int yz, int zz, typename T,
T( *calc )( const T &, const T &, const int & ),
bool( *check )( const T &, const T & ),
Expand Down

0 comments on commit 044de0d

Please sign in to comment.