Permalink
Please sign in to comment.
Browse files
Line_of_sight: Improve using VoxelLineIterator
This commit rewrites line_of_sight with VoxelLineIterator. Stepsize is no longer needed, the results will be always accurate.
- Loading branch information...
Showing
with
28 additions
and 36 deletions.
- +3 −4 doc/lua_api.txt
- +3 −8 src/script/lua_api/l_env.cpp
- +1 −1 src/script/lua_api/l_env.h
- +12 −21 src/serverenvironment.cpp
- +9 −2 src/serverenvironment.h
0 comments on commit
2153965