예제 #1
0
파일: main.go 프로젝트: go3d/go-ngine
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 프로젝트: LonelyPale/go-ngine
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)
}
예제 #3
0
파일: main.go 프로젝트: go3d/go-ngine
func main() {
	apputil.Main(setupExample_02_EmptyGround, onAppThread, onWinThread)
}
예제 #4
0
파일: main.go 프로젝트: go3d/go-ngine
func main() {
	apputil.Main(setupScene, onAppThread, onWinThread)
}
예제 #5
0
파일: main.go 프로젝트: go3d/go-ngine
func main() {
	apputil.Main(setupExample_03_PyrCube, onAppThread, onWinThread)
}
예제 #6
0
파일: main.go 프로젝트: go3d/go-ngine
func main() {
	apputil.MaxKeyHint = 4
	apputil.OnSec = onSec
	apputil.Main(setupExample_01_TriQuad, onAppThread, onWinThread)
}