commit 6b86b78bc7b1e448fea439c3788ae4d4db89a2fc parent d9173633bf974d3a376ca98e7533be24dae6d483 Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Wed, 23 Jan 2019 09:58:10 +0100 Fix a comment Diffstat:
| M | src/senc2d_scene_analyze.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/senc2d_scene_analyze.c b/src/senc2d_scene_analyze.c @@ -589,8 +589,9 @@ group_connex_components enum side_id hit_side = ((hit.normal[1] < 0) /* Facing geometrical normal of hit */ == ((desc->scene->convention & SENC2D_CONVENTION_NORMAL_FRONT) != 0)) - /* Warning: Embree 2 convention for geometrical normals is - * left-handed and star-enclosure uses right-handed convention */ + /* Warning: following Embree 2 convention for geometrical normals, + * the Star2D hit normal is left-handed while star-enclosure2D uses + * right-handed convention */ ? SIDE_BACK : SIDE_FRONT; ASSERT(hit.normal[1] != 0); ASSERT(hit_seg_id < desc->scene->nusegs);