mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix index_range implementation
This commit is contained in:
parent
331aaa3559
commit
049d4592c2
78 changed files with 178 additions and 225 deletions
|
@ -51,7 +51,7 @@ namespace sprout {
|
|||
template<typename Intersection, typename Objects>
|
||||
SPROUT_CONSTEXPR color_type
|
||||
operator()(Intersection const& inter, Objects const& objs) const {
|
||||
return shade_1(inter, objs, sprout::index_range<0, sizeof...(Lights)>::make());
|
||||
return shade_1(inter, objs, sprout::make_index_tuple<sizeof...(Lights)>::make());
|
||||
}
|
||||
};
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue