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

fix inline

add container/indexes.hpp
add tuple/indexes.hpp
This commit is contained in:
bolero-MURAKAMI 2012-04-04 22:23:41 +09:00
parent ba6482d1ec
commit c6bd230ee4
340 changed files with 1087 additions and 979 deletions

View file

@ -13,7 +13,7 @@ namespace sprout {
// intersect
//
template<typename Object, typename Ray>
SPROUT_CONSTEXPR inline typename Object::template intersection<Ray>::type
inline SPROUT_CONSTEXPR typename Object::template intersection<Ray>::type
intersect(Object const& obj, Ray const& ray) {
return obj.intersect(ray);
}
@ -62,7 +62,7 @@ namespace sprout {
};
} // namespace detail
template<typename Objects, typename Ray>
SPROUT_CONSTEXPR inline typename sprout::darkroom::access::unit<Objects>::type
inline SPROUT_CONSTEXPR typename sprout::darkroom::access::unit<Objects>::type
::template intersection<Ray>::type
intersect_list(Objects const& objs, Ray const& ray) {
return sprout::darkroom::objects::detail::intersect_list_impl<