View a mesh in 3D with a GLFW window.
This function is added to the Mesh class in dtcc_model.
- Parameters:
- mesh : Mesh
Mesh to be viewed (self).
- data : np.ndarray
Data for coloring of mesh. Data should match vertex or face count.
- shading : MeshShading
Shading option for mesh drawing style.