From 5a9f2b5b57b4c15c2379e14514a14e3f0a296bb9 Mon Sep 17 00:00:00 2001 From: Nova Date: Tue, 5 Jul 2022 05:44:45 -0400 Subject: [PATCH] refactor(ray_march): comment out unused consts --- src/nodes/field.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nodes/field.rs b/src/nodes/field.rs index 768edeb..3d096bf 100644 --- a/src/nodes/field.rs +++ b/src/nodes/field.rs @@ -393,13 +393,13 @@ pub struct RayMarchResult { ray_steps: u32, } -const MIN_RAY_STEPS: u32 = 0; +// const MIN_RAY_STEPS: u32 = 0; const MAX_RAY_STEPS: u32 = 1000; const MIN_RAY_MARCH: f32 = 0.001_f32; const MAX_RAY_MARCH: f32 = f32::MAX; -const MIN_RAY_LENGTH: f32 = 0_f32; +// const MIN_RAY_LENGTH: f32 = 0_f32; const MAX_RAY_LENGTH: f32 = 1000_f32; pub fn ray_march(ray: Ray, field: &Field) -> RayMarchResult {