view_object(obj: Object)

View a generic object in 3D with a GLFW window.

This function is added to the Object class in dtcc_model.

Parameters:
obj : Object

Object to be viewed (self).

shading : MeshShading

Shading option for mesh drawing style.