vispy.geometry.normals module

vispy.geometry.normals.compact(vertices, indices, tolerance=0.001)

Compact vertices and indices within given tolerance

vispy.geometry.normals.normals(vertices, indices)

Compute normals over a triangulated surface

Parameters
verticesndarray (n,3)

triangles vertices

indicesndarray (p,3)

triangles indices