rtiow: use hand written SIMD hit test.

This commit is contained in:
Bill Thiede 2023-01-28 13:04:18 -08:00
parent ef737c6df9
commit d3dd002883

View File

@ -75,7 +75,6 @@ impl AABB {
pub fn hit(&self, r: Ray, t_min: f32, t_max: f32) -> bool {
self.hit_simd(r, t_min, t_max)
//self.hit_naive(r, t_min, t_max)
}
pub fn hit_naive(&self, r: Ray, t_min: f32, t_max: f32) -> bool {