From 9d42f2b0505eb4f0fa9da4144f1f90ae1a2ab620 Mon Sep 17 00:00:00 2001 From: Lukas Werner <lks.werner@fau.de> Date: Tue, 13 Mar 2018 14:47:35 +0100 Subject: [PATCH] More real_t wrapping --- src/pe/raytracing/ShadingFunctions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pe/raytracing/ShadingFunctions.h b/src/pe/raytracing/ShadingFunctions.h index 13594d5d1..3a3734a7c 100644 --- a/src/pe/raytracing/ShadingFunctions.h +++ b/src/pe/raytracing/ShadingFunctions.h @@ -109,7 +109,7 @@ inline ShadingParameters redShadingParams (const BodyID body) { WALBERLA_UNUSED(body); ShadingParameters s(Color(real_t(1), real_t(0), real_t(0)), Color(real_t(0.5), real_t(0), real_t(0)), - Color(real_t(0.1), real_t(0.1), 0.1), + Color(real_t(0.1), real_t(0.1), real_t(0.1)), real_t(0)); return s; } @@ -126,7 +126,7 @@ inline ShadingParameters greenShadingParams (const BodyID body) { inline ShadingParameters blueShadingParams (const BodyID body) { WALBERLA_UNUSED(body); ShadingParameters s(Color(real_t(0.15), real_t(0.44), real_t(0.91)), - Color(real_t(0), real_t(0), 0.4), + Color(real_t(0), real_t(0), real_t(0.4)), Color(real_t(0.1), real_t(0.1), real_t(0.1)), real_t(0)); return s; @@ -136,7 +136,7 @@ inline ShadingParameters yellowShadingParams (const BodyID body) { WALBERLA_UNUSED(body); ShadingParameters s(Color(real_t(1), real_t(0.96), real_t(0)), Color(real_t(0.5), real_t(0.48), real_t(0)), - Color(real_t(0), real_t(0), 0), + Color(real_t(0), real_t(0), real_t(0)), real_t(0)); return s; } -- GitLab