]> git.lizzy.rs Git - minetest.git/commit
Line_of_sight: Improve using VoxelLineIterator
authorDániel Juhász <juhdanad@gmail.com>
Thu, 1 Dec 2016 19:15:37 +0000 (20:15 +0100)
committerparamat <mat.gregory@virginmedia.com>
Tue, 26 Dec 2017 21:51:32 +0000 (21:51 +0000)
commit2153965cf92ab61b0d7e095cf3c2755924fdc221
tree3895bdca9684f0f94a2a9f8653e013eecc0d4e1e
parentca64f564cd23dba45bc93b57a718dfe81df5ba27
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.
doc/lua_api.txt
src/script/lua_api/l_env.cpp
src/script/lua_api/l_env.h
src/serverenvironment.cpp
src/serverenvironment.h