1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

destructive change sprout::generate -> sprout::unfold

add range adapter reversed, replaced, filtered
This commit is contained in:
bolero-MURAKAMI 2012-09-21 15:43:30 +09:00
parent 6b3f7ad894
commit 73ead93fe5
60 changed files with 3840 additions and 318 deletions

View file

@ -5,6 +5,5 @@
#include <sprout/darkroom/objects/intersect.hpp>
#include <sprout/darkroom/objects/sphere.hpp>
#include <sprout/darkroom/objects/aa_plane.hpp>
#include <sprout/darkroom/objects/polygon.hpp>
#endif // #ifndef SPROUT_DARKROOM_OBJECTS_HPP

View file

@ -69,7 +69,7 @@ namespace sprout {
: position_type(0, 0, 0)
,
hit_side > 0 ? normal_ : sprout::darkroom::coords::negate(normal_),
sprout::darkroom::materials::calc_material(mat_, unit_type(0), unit_type(0)) // !
sprout::darkroom::materials::calc_material(mat_, unit_type(0), unit_type(0)) // ???
);
}
template<typename Ray>
@ -132,7 +132,7 @@ namespace sprout {
sprout::darkroom::coords::scale(sprout::darkroom::rays::direction(ray), t)
),
hit_side,
// !!!
// ???
// hit_side > 0 && t >= 0
t >= 0
);