Serves as central export of the entire engine,
client programs can simply import this file
for all symbols defined in the engine
Found in Chapter 3, page 69 of the textbook
Example: 3.1 Renderable ObjectsMethods
(static) cleanUp()
Calls clean up functions for all parts of the engine
(static) clearCanvas(color)
Clears the canvas and set it to a single color
Parameters:
| Name | Type | Description |
|---|---|---|
color |
vec4 | [R,G,B,A] color array |
(static) init(htmlCanvasID)
Initializes all the parts of the engine
Parameters:
| Name | Type | Description |
|---|---|---|
htmlCanvasID |
string | name of the html canvas element |