star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit bd73e8281ea0c62700e1ccfd3f3a1cf229e72264
parent eb0b5365e5a9ab5692e350700cf77610cf4fcc9b
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Tue, 19 Jan 2021 15:08:56 +0100

Add a comment

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

diff --git a/src/s3d.h b/src/s3d.h @@ -144,7 +144,7 @@ static const struct s3d_vertex_data S3D_VERTEX_DATA_NULL = S3D_VERTEX_DATA_NULL_ /* Intersection point */ struct s3d_hit { struct s3d_primitive prim; /* Intersected primitive */ - float normal[3]; /* Un-normalized geometry normal */ + float normal[3]; /* Un-normalized geometry normal (left hand convention) */ float uv[2]; /* Barycentric coordinates of the hit onto `prim' */ float distance; /* Hit distance from the query origin */ };