From a0d7d5e5903be3e06ebad8af850007bd3263aeed Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 26 Mar 2020 19:03:59 +0100 Subject: [PATCH] library: render: scene: remove ignored test --- pathtracer/src/render/scene.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pathtracer/src/render/scene.rs b/pathtracer/src/render/scene.rs index ff61f86..8a46cb9 100644 --- a/pathtracer/src/render/scene.rs +++ b/pathtracer/src/render/scene.rs @@ -73,7 +73,6 @@ impl Scene { reflection_limit: u32, diffraction_index: f32, ) -> Self { - // NOTE(Antoine): fun fact: BVH::build stack overflows when given an empty slice :) let bvh = BVH::build(&mut objects); Scene { camera, @@ -353,8 +352,7 @@ mod test { } #[test] - #[ignore] // stack overflow because of BVH :( - fn bvh_fails() { + fn empty_scene() { use crate::core::Camera; use crate::render::{LightAggregate, Scene};