vispy.geometry.normals module

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

Compact vertices and indices within given tolerance

vispy.geometry.normals.normals(vertices, indices)[source]

Compute normals over a triangulated surface

Parameters
verticesndarray (n,3)

triangles vertices

indicesndarray (p,3)

triangles indices