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:
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 */
};