diff --git a/rtiow/renderer/src/aabb.rs b/rtiow/renderer/src/aabb.rs index 20b7e83..e46c701 100644 --- a/rtiow/renderer/src/aabb.rs +++ b/rtiow/renderer/src/aabb.rs @@ -167,6 +167,9 @@ impl AABB { let tmin = max(max(vmin4.0, max(vmin4.1, vmin4.2)), t_min); tmin <= tmax } + #[cfg(target_arch = "aarch64")] + // TODO(wathiede): add NEON implementation. + self.hit2(r, t_min, t_max) } pub fn hit_fast(&self, r: Ray, _t_min: f32, _t_max: f32) -> bool {