htrdr

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

commit a459760eb02460653c19c4de5de61157f6a18c6c
parent 4507c06172265ad42e894e1cb615b0c6321fef41
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  5 Jan 2022 16:54:19 +0100

Fix a typo

Diffstat:
Msrc/atmosphere/htrdr_atmosphere.c | 1-
Msrc/atmosphere/htrdr_atmosphere_compute_radiance_sw.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/atmosphere/htrdr_atmosphere.c b/src/atmosphere/htrdr_atmosphere.c @@ -453,7 +453,6 @@ htrdr_atmosphere_create if(res != RES_OK) goto error; } - if(cmd->output_type != HTRDR_ATMOSPHERE_ARGS_OUTPUT_OCTREES) { struct htrdr_pixel_format pixfmt = HTRDR_PIXEL_FORMAT_NULL; atmosphere_get_pixel_format(cmd, &pixfmt); diff --git a/src/atmosphere/htrdr_atmosphere_compute_radiance_sw.c b/src/atmosphere/htrdr_atmosphere_compute_radiance_sw.c @@ -397,7 +397,7 @@ atmosphere_compute_radiance_sw struct htrdr_interface interf = HTRDR_INTERFACE_NULL; const struct htrdr_mtl* mtl = NULL; - /* Fetch the hit interface materal and build its BSDF */ + /* Fetch the hit interface material and build its BSDF */ htrdr_atmosphere_ground_get_interface(cmd->ground, &s3d_hit, &interf); mtl = htrdr_interface_fetch_hit_mtl(&interf, dir, &s3d_hit); HTRDR(mtl_create_bsdf(cmd->htrdr, mtl, ithread, wlen, rng, &bsdf));