From 0e7f3a6b00c58dd1f0a33e419187ce7868da1968 Mon Sep 17 00:00:00 2001 From: Pfauenauge90 <44173739+Pfauenauge90@users.noreply.github.com> Date: Fri, 7 Feb 2020 20:35:45 +0100 Subject: [PATCH] Update vol.rs --- voxygen/src/mesh/vol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/mesh/vol.rs b/voxygen/src/mesh/vol.rs index 6c219898e9..c99ebe64d7 100644 --- a/voxygen/src/mesh/vol.rs +++ b/voxygen/src/mesh/vol.rs @@ -85,7 +85,7 @@ fn get_col_quad(dirs: &[Vec3], cols: &[[[Rgba; 3]; 3]; 3]) -> Vec4 0 { let col = Rgb::new(col.r, col.g, col.b).map(|e| e as f32); if Vec3::::from(primary_col).distance_squared(Vec3::from(col)) - < (0.25f32 * 256.0).powf(2.0) + < (0.00000001f32 * 256.0).powf(2.0) { color += col; total += 256.0;