rnatm

Load and structure data describing an atmosphere
git clone git://git.meso-star.fr/rnatm.git
Log | Files | Refs | README | LICENSE

commit d0eb8fbfefd689616ab5cb3f66f560eef7a97310
parent 8ddd016b63d84e8d69a94561cfd526738922b6f5
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 25 Jul 2022 17:37:12 +0200

Fix voxel_idata function

Diffstat:
Msrc/rnatm_voxel.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rnatm_voxel.h b/src/rnatm_voxel.h @@ -52,7 +52,7 @@ voxel_idata { ASSERT((unsigned)radcoef < RNATM_RADCOEFS_COUNT__); ASSERT((unsigned)op < RNATM_SVX_OPS_COUNT__); - return radcoef*RNATM_RADCOEFS_COUNT__ + op; + return radcoef*RNATM_SVX_OPS_COUNT__ + op; } static FINLINE void