commit 312a5ce9c6d63174ea0745d2a748cbdbd873f6d6
parent 08b6cd4329267f6e54aa198c1d8c2b4f8fa4d5ff
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 3 Feb 2016 15:42:07 +0100
Comment the vertex ordering and the normal orientation
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/sstl.h b/src/sstl.h
@@ -53,6 +53,7 @@
struct sstl_desc {
const char* solid_name; /* May be NULL <=> no name */
+ /* Front faces are CCW ordered and the normals follow the right handed rule */
const float* vertices; /* triangles_count * 3 coordinates */
const unsigned* indices; /* triangles_count * 3 indices */
const float* normals; /* Per triangle normalized normal */