commit 67b9637ccf210ace9423d6c3866e40d34714eb3e
parent f3884181c55f8e4079f904fcf7a056c5833dcc98
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 16 Nov 2022 19:05:52 +0100
htrdr-planeto: fix an rnatm API break
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/planeto/htrdr_planeto_compute_radiance.c b/src/planeto/htrdr_planeto_compute_radiance.c
@@ -376,8 +376,7 @@ create_phase_fn
RNATM(sample_component(cmd->atmosphere, &sample_args, &cpnt));
/* Retrieve the component cell in which the scattering position is located */
- RNATM(fetch_cell(cmd->atmosphere, pos, cpnt, &phase_fn_args.cell,
- phase_fn_args.barycentric_coords));
+ RNATM(fetch_cell(cmd->atmosphere, pos, cpnt, &phase_fn_args.cell));
ASSERT(!SUVM_PRIMITIVE_NONE(&phase_fn_args.cell.prim));
/* Retrieve the component phase function */