commit 19d8e87a4a473f6049e14f9765ec6141eb6a270f parent 4a0c7248e3641d88d8f95f29d51d9443886881ca Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Wed, 23 Jan 2019 09:58:39 +0100 Fix a comment Diffstat:
| M | src/senc_scene_analyze.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c @@ -595,8 +595,9 @@ group_connex_components enum side_id hit_side = ((hit.normal[2] < 0) /* Facing geometrical normal of hit */ == ((desc->scene->convention & SENC_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 Star3D hit normal is left-handed while star-enclosure uses + * right-handed convention */ ? SIDE_BACK : SIDE_FRONT; ASSERT(hit.normal[2] != 0); ASSERT(hit_trg_id < desc->scene->nutris);