diff --git a/README.md b/README.md index f62ea94..47954f5 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,9 @@ import numpy as np # Define an array of triangles # Following the STL standard, each triangle is defined with : normal, v0, v1, v2 quad = np.array([ - [[0.0, 0.0, 1.0], [0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0]], - [[0.0, 0.0, 1.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], + # normal, v0, v1, v2 + [[0.0, 0.0, 1.0], [0.0, 0.0, 0.0], [1.0, 0.0, 0.0], [1.0, 1.0, 0.0]], # Triangle 1 + [[0.0, 0.0, 1.0], [0.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]], # Triangle 2 ]) # Serialize the triangles to a file