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

[sprout.darkroom] implement refraction process

This commit is contained in:
bolero-MURAKAMI 2013-12-12 23:29:50 +09:00
parent 8e306168da
commit 63ac0d0df5
10 changed files with 494 additions and 69 deletions

View file

@ -16,6 +16,7 @@
#include <sprout/container/functions.hpp>
#include <sprout/container/indexes.hpp>
#include <sprout/darkroom/colors/rgb.hpp>
#include <sprout/darkroom/renderers/calculate.hpp>
#include <sprout/darkroom/tracers/calculate.hpp>
namespace sprout {
@ -114,7 +115,7 @@ namespace sprout {
>::static_size,
typename sprout::container_traits<Pixels>::size_type height
= sprout::container_traits<Pixels>::static_size,
std::size_t depth_max = 8
std::size_t depth_max = sprout::darkroom::renderers::default_depth
)
{
return sprout::darkroom::pixels::detail::generate_impl<Pixels>(