func main() { apputil.AddKeyHint("F10", "Add three more crates") apputil.AddKeyHint("F11", "Remove last three crates") apputil.AddKeyHint("F12", "Toggle 'Rear-View-Mirror' Camera") // ng.Options.Rendering.DefaultBatcher.Enabled = false // ng.Loop.MaxIterations = 2000 apputil.Main(setupExample_04_PyrsCubes, onAppThread, onWinThread) }
func main() { apputil.Main(setupScene, onAppThread, onWinThread) }
func main() { apputil.MaxKeyHint = 4 apputil.OnSec = onSec apputil.Main(setupExample_01_TriQuad, onAppThread, onWinThread) }
func main() { apputil.Main(setupExample_03_PyrCube, onAppThread, onWinThread) }
func main() { apputil.Main(setupExample_02_EmptyGround, onAppThread, onWinThread) }
func main() { apputil.MaxKeyHint = 1 // You better check out this function, it's part of the "minimal go:ngine setup": apputil.Main(nil, func() {}, onWinThread) }