aboutsummaryrefslogtreecommitdiff
path: root/src/sdf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdf.rs')
-rw-r--r--src/sdf.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdf.rs b/src/sdf.rs
index 3204305..f3b9ac1 100644
--- a/src/sdf.rs
+++ b/src/sdf.rs
@@ -14,8 +14,8 @@ pub struct Sphere {
}
impl Object for Sphere {
- fn sdf(&self, point: Vector, time: f32) -> f32 {
- (point - self.center).magnitude() - self.radius + (time % 5.0) / 50.0
+ fn sdf(&self, point: Vector, _time: f32) -> f32 {
+ (point - self.center).magnitude() - self.radius
}
}