The triangle index run a mesh carries, refused rather than read past its end.
An index array that is not a whole number of triangles, or that names a
vertex the mesh does not carry, would otherwise read undefined and emit
NaN positions and a NaN volume that no downstream check attributes back
to the malformed input. A mesh without indices is read as consecutive
triangles 0, 1, 2, ... over its vertices.
Positions are not checked for finiteness; callers that need finite
coordinates check them separately.
The triangle index run a mesh carries, refused rather than read past its end.
An index array that is not a whole number of triangles, or that names a vertex the mesh does not carry, would otherwise read
undefinedand emitNaNpositions and aNaNvolume that no downstream check attributes back to the malformed input. A mesh without indices is read as consecutive triangles0, 1, 2, ...over its vertices.Positions are not checked for finiteness; callers that need finite coordinates check them separately.