commit 963495ffc9368a2212dcf13d7f14806263fd1612
parent bfee440c85d7f6622b2e512d0e767feb67a19a6d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 22 Apr 2021 11:47:10 +0200
Function htrdr_interface_fetch_hit_mtl
Minor update of its profile: make constant its input s3d_hit variable.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/htrdr_interface.h b/src/core/htrdr_interface.h
@@ -39,7 +39,7 @@ static INLINE const struct htrdr_mtl*
htrdr_interface_fetch_hit_mtl
(const struct htrdr_interface* interf,
const double dir[3], /* Incoming ray */
- struct s3d_hit* hit)
+ const struct s3d_hit* hit)
{
const struct htrdr_mtl* mtl = NULL;
enum { FRONT, BACK };