Esempio n. 1
0
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)
}
Esempio n. 2
0
func main() {
	apputil.Main(setupScene, onAppThread, onWinThread)
}
Esempio n. 3
0
func main() {
	apputil.MaxKeyHint = 4
	apputil.OnSec = onSec
	apputil.Main(setupExample_01_TriQuad, onAppThread, onWinThread)
}
Esempio n. 4
0
func main() {
	apputil.Main(setupExample_03_PyrCube, onAppThread, onWinThread)
}
Esempio n. 5
0
func main() {
	apputil.Main(setupExample_02_EmptyGround, onAppThread, onWinThread)
}
Esempio n. 6
0
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)
}