rtiow: make compile on aarch64.
This commit is contained in:
parent
5ba5aa5f5d
commit
739b38b4ed
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user