Demonstration of hierarchical transformation in OpenGL