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:
parent
ba6482d1ec
commit
c6bd230ee4
340 changed files with 1087 additions and 979 deletions
|
@ -204,7 +204,7 @@ namespace sprout {
|
|||
// make_aa_plane
|
||||
//
|
||||
template<typename Material, typename Unit>
|
||||
SPROUT_CONSTEXPR inline sprout::darkroom::objects::basic_aa_plane<Material>
|
||||
inline SPROUT_CONSTEXPR sprout::darkroom::objects::basic_aa_plane<Material>
|
||||
make_aa_plane(
|
||||
sprout::darkroom::objects::aa_plane_direction::values dir_val,
|
||||
Unit const& val,
|
||||
|
|
|
@ -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<
|
||||
|
|
|
@ -263,7 +263,7 @@ namespace sprout {
|
|||
// make_sphere
|
||||
//
|
||||
template<typename Material, typename Position, typename Radius>
|
||||
SPROUT_CONSTEXPR inline sprout::darkroom::objects::basic_sphere<Material, Position>
|
||||
inline SPROUT_CONSTEXPR sprout::darkroom::objects::basic_sphere<Material, Position>
|
||||
make_sphere(Position const& pos, Radius const& rad, Material const& mat) {
|
||||
return sprout::darkroom::objects::basic_sphere<Material, Position>(pos, rad, mat);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue