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

fix darkroom: add make_object_list

This commit is contained in:
bolero-MURAKAMI 2013-09-24 10:05:47 +09:00
parent abfa6082b4
commit 3cb882ce91
13 changed files with 128 additions and 14 deletions

View file

@ -61,6 +61,7 @@ namespace sprout {
return shade_1(inter, objs, sprout::index_pack<Lights...>::make());
}
};
//
// make_light_list
//

View file

@ -77,7 +77,7 @@ namespace sprout {
operator()(Intersection const& inter, Objects const& objs) const {
return shade_1(
inter,
sprout::darkroom::objects::intersect_list(
sprout::darkroom::objects::intersect(
objs,
sprout::darkroom::rays::make_ray(
sprout::darkroom::coords::add(

View file

@ -81,7 +81,7 @@ namespace sprout {
inter,
diff,
direction,
sprout::darkroom::objects::intersect_list(
sprout::darkroom::objects::intersect(
objs,
sprout::darkroom::rays::make_ray(
sprout::darkroom::coords::add(