pyunity.window.glutWindow module
Class to create a window using FreeGLUT.
-
class
pyunity.window.glutWindow.
Window
(name, resize)[source]
Bases: object
A window provider that uses FreeGLUT.
-
display
()[source]
Function to render in the scene.
-
schedule_update
(t)[source]
Starts the window refreshing.
-
start
(update_func)[source]
Start the main loop of the window.
Parameters: | update_func (function) – The function that calls the OpenGL calls. |