pyunity.window.glutWindow module

class pyunity.window.glutWindow.Window(size, name)[source]

Bases: object

A window provider that uses FreeGLUT.

display()[source]

Function to render in the scene.

start(updateFunc)[source]

Start the main loop of the window.

Parameters

updateFunc (function) – The function that calls the OpenGL calls.