htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit b9221a22dbf1bbff247ba7ad3786f91ad9d3af9c
parent 769f9b4f0dc2df5cef7c7c8f43679fa3a2ba150c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 24 Feb 2021 10:14:14 +0100

Fix a comment typo

Diffstat:
Msrc/atmosphere/htrdr_atmosphere_compute_radiance_sw.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/atmosphere/htrdr_atmosphere_compute_radiance_sw.c b/src/atmosphere/htrdr_atmosphere_compute_radiance_sw.c @@ -315,7 +315,7 @@ atmosphere_compute_radiance_sw d3_set(pos, pos_in); d3_set(dir, dir_in); - if((cpnt_mask & ATMOSPHERE_RADIANCE_DIRECT) /* Handle direct contribation */ + if((cpnt_mask & ATMOSPHERE_RADIANCE_DIRECT) /* Handle direct contribution */ && htrdr_atmosphere_sun_is_dir_in_solar_cone(cmd->sun, dir)) { /* Check that the ray is not occluded along the submitted range */ d2(range, 0, FLT_MAX);