commit e9dcf9319aa389468cbf24ceeeb396b11b1b778a parent 0c203468f2402ddb38aabbf3ba2c3a075105e86c Author: Vincent Forest <vincent.forest@meso-star.com> Date: Wed, 10 Mar 2021 16:09:59 +0100 Fix the "struct atrstm_trace_ray_args" data structure Make its function pointer non constants Diffstat:
| M | src/atrstm.h | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/atrstm.h b/src/atrstm.h @@ -233,8 +233,8 @@ struct atrstm_trace_ray_args { double ray_dir[3]; double ray_range[2]; - const svx_hit_challenge_T challenge; /* NULL <=> Traversed up to the leaves */ - const svx_hit_filter_T filter; /* NULL <=> Stop RT at the 1st hit voxel */ + svx_hit_challenge_T challenge; /* NULL <=> Traversed up to the leaves */ + svx_hit_filter_T filter; /* NULL <=> Stop RT at the 1st hit voxel */ void* context; /* User data send to the 'challenge' & 'filter' function */ size_t iband; /* Spectral band id. Not use in shortwave */