Fix chunks being culled at the edge of the screen when they shouldn't

This commit is contained in:
Thinkofname 2016-04-03 23:00:00 +01:00
parent 10b32c03c5
commit 8094fbbd0a
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ impl World {
for dir in Direction::all() {
let (ox, oy, oz) = dir.get_offset();
let dir_vec = cgmath::Vector3::new(ox as f32, oy as f32, oz as f32);
valid_dirs[dir.index()] = renderer.view_vector.dot(dir_vec) > -0.8;
valid_dirs[dir.index()] = renderer.view_vector.dot(dir_vec) > -0.9;
}
let start = (