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

fix coding-stype

This commit is contained in:
bolero-MURAKAMI 2012-10-06 00:58:56 +09:00
parent 2012838899
commit df3023db30
196 changed files with 2510 additions and 3945 deletions

View file

@ -16,29 +16,15 @@ namespace sprout {
public:
typedef Color color_type;
public:
template<
typename Renderer,
typename Camera,
typename Objects,
typename Lights,
typename Unit2D
>
template<typename Renderer, typename Camera, typename Objects, typename Lights, typename Unit2D>
SPROUT_CONSTEXPR color_type operator()(
Renderer const& renderer,
Camera const& camera,
Objects const& objs,
Lights const& lights,
Unit2D const& x,
Unit2D const& y,
Unit2D const& width,
Unit2D const& height,
Renderer const& renderer, Camera const& camera, Objects const& objs, Lights const& lights,
Unit2D const& x, Unit2D const& y, Unit2D const& width, Unit2D const& height,
std::size_t depth_max = 8
) const
{
return renderer.template operator()<color_type>(
camera,
objs,
lights,
camera, objs, lights,
camera.template operator()(x, y, width, height),
depth_max
);