示例#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)
}
示例#2
0
文件: main.go 项目: sbward/go-ngine
func main() {
	apputil.Main(setupScene, onAppThread, onWinThread)
}
示例#3
0
文件: main.go 项目: sbward/go-ngine
func main() {
	apputil.MaxKeyHint = 4
	apputil.OnSec = onSec
	apputil.Main(setupExample_01_TriQuad, onAppThread, onWinThread)
}
示例#4
0
func main() {
	apputil.Main(setupExample_03_PyrCube, onAppThread, onWinThread)
}
示例#5
0
func main() {
	apputil.Main(setupExample_02_EmptyGround, onAppThread, onWinThread)
}
示例#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)
}