on Draw Frame
Called when a frame needs to be drawn into the surface. Sets camera and draws the cube.
Parameters
gl
OpenGL context.
Called when a frame needs to be drawn into the surface. Sets camera and draws the cube.
OpenGL context.