projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
339b758
)
Tune occlusion culling a bit more
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 3 Nov 2011 11:35:32 +0000
(13:35 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 3 Nov 2011 11:35:32 +0000
(13:35 +0200)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index 3ecdfa00fc5f365db47f7d7eb1337cb710d1dde5..6ba33288d7a07c20f88dcdb84da96e8e6af40d85 100644
(file)
--- a/
src/map.cpp
+++ b/
src/map.cpp
@@
-3847,7
+3847,7
@@
void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
v3s16 cpn = v3s16(block->getPos() * MAP_BLOCKSIZE)
+ v3s16(MAP_BLOCKSIZE)/2;
float step = BS*1;
- float stepfac = 1.
2
;
+ float stepfac = 1.
1
;
float startoff = BS*1;
float endoff = -BS*MAP_BLOCKSIZE*1.42*1.42;
v3s16 spn = cam_pos_nodes + v3s16(0,0,0);