diff --git a/sprout/darkroom/objects/aa_plane.hpp b/sprout/darkroom/objects/aa_plane.hpp index 75094eed..05fc5765 100644 --- a/sprout/darkroom/objects/aa_plane.hpp +++ b/sprout/darkroom/objects/aa_plane.hpp @@ -184,7 +184,7 @@ namespace sprout { : direction_value_(direction_value) , val_(val) , mat_(mat) - {}; + {} template SPROUT_CONSTEXPR typename intersection::type intersect(Ray const& ray) const { return intersect_1( diff --git a/sprout/darkroom/objects/sphere.hpp b/sprout/darkroom/objects/sphere.hpp index bfeec47a..a38ab6c0 100644 --- a/sprout/darkroom/objects/sphere.hpp +++ b/sprout/darkroom/objects/sphere.hpp @@ -251,7 +251,7 @@ namespace sprout { : pos_(pos) , rad_(rad) , mat_(mat) - {}; + {} template SPROUT_CONSTEXPR typename intersection::type intersect(Ray const& ray) const { return intersect_1(