Modify the code in Helloobject . py as follows to make use of the new Object class:
.
glTranslatef $(0.0,0.0,-3)$
glEnable (GL_DEPTH_TEST)
cube $=$ Object ("Cube")
cube.add_component (Cube (GL_POLYGON,
“images/wall.tif”))
glEnable(GL_LIGHTING)
..