star-gf

Compute Gebhart factors
git clone git://git.meso-star.fr/star-gf.git
Log | Files | Refs | README | LICENSE

commit b830acdce3151c9bd344e0587899ff4f9caf0511
parent e519d8e09aaa8650ea8eb2ea8666ff0c5b87b6aa
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 18 May 2016 10:54:38 +0200

Take into account the s3d_scene_trace_ray API update

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

diff --git a/src/sgf_estimator.c b/src/sgf_estimator.c @@ -145,7 +145,7 @@ gebhart_radiative_path range[0] = 1.e-6f, range[1] = FLT_MAX; for(;;) { - S3D(scene_trace_ray(desc->scene, pos, dir, range, &hit)); + S3D(scene_trace_ray(desc->scene, pos, dir, range, NULL, &hit)); if(S3D_PRIMITIVE_EQ(&hit.prim, &prim_from)) range[0] += 1.e-6f; /* Self hit */ else break; }