From 8332ce62049bffae95032592489ce161c44615f5 Mon Sep 17 00:00:00 2001 From: Djairo Date: Sun, 31 May 2026 13:52:50 +0200 Subject: [PATCH] rm: unimplemented cylinder code --- src/objects/cylinder.rs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/objects/cylinder.rs diff --git a/src/objects/cylinder.rs b/src/objects/cylinder.rs deleted file mode 100644 index 2c72849..0000000 --- a/src/objects/cylinder.rs +++ /dev/null @@ -1,30 +0,0 @@ -use crate::{objects::traits::Hittable, vec3::Vec3}; - -#[derive(Debug)] -pub struct Cylinder { - radius: f32, - length: f32, - up: Vec3, - bottom_center: Vec3, -} - -impl Cylinder { - pub fn new(radius: f32, length: f32, up: Vec3, bottom_center: Vec3) -> Self { - Self { - radius, - length, - up, - bottom_center, - } - } -} - -impl Hittable for Cylinder { - fn hit(&self, _r: &crate::ray::Ray) -> Option { - todo!() - } - - fn to_uv(&self, _point: &Vec3) -> Vec3 { - todo!() - } -}