// Start is called once at the start of the demo.
Start is called once at the start of the demo.
// Start is called once at the start of the demo .
func (t *Skybox) Start(a *app.App) {
	skybox, err := graphic.NewSkybox(graphic.SkyboxData{
		a.DirData() + "/images/sanfrancisco/", "jpg",
		[6]string{"posx", "negx", "posy", "negy", "posz", "negz"}})
	if err != nil {
		panic(err)
	}
	a.Scene().Add(skybox)
	axes := helper.NewAxes(2)
	a.Scene().Add(axes)
}
func ( t * Skybox ) Start ( a * app . App ) { skybox , err := graphic . NewSkybox ( graphic . SkyboxData { a . DirData ( ) + " " , " " , [ 6 ] string { " " , " " , " " , " " , " " , " " } } ) if err != nil { panic ( err ) } a . Scene ( ) . Add ( skybox ) axes := helper . NewAxes ( 2 ) a . Scene ( ) . Add ( axes ) }
Start is called once at the start of the demo.
Start is called once at the start of the demo .
// Create Skybox // Create axes helper