RunPreparation is called only once, and is called automatically when calling Open It is only here for benchmarking in combination with OpenHeadlessNoRun
(defaultScene Scene)
| 170 | // RunPreparation is called only once, and is called automatically when calling Open |
| 171 | // It is only here for benchmarking in combination with OpenHeadlessNoRun |
| 172 | func RunPreparation(defaultScene Scene) { |
| 173 | Time = NewClock() |
| 174 | SetScene(defaultScene, false) |
| 175 | } |
| 176 | |
| 177 | // RunIteration runs one iteration / frame |
| 178 | func RunIteration() { |