Remove comments
This commit is contained in:
parent
7aa7fb44b2
commit
046858eb1b
2
main.go
2
main.go
|
@ -89,12 +89,10 @@ func (p *Page) init(renderer *three.WebGLRenderer) {
|
|||
|
||||
p.CreateObjects()
|
||||
|
||||
// Begin animating.
|
||||
p.animate()
|
||||
}
|
||||
|
||||
func (p *Page) shutdown(renderer *three.WebGLRenderer) {
|
||||
// After shutdown, we shouldn't use any of these anymore.
|
||||
p.scene = nil
|
||||
p.camera = three.PerspectiveCamera{}
|
||||
p.renderer = nil
|
||||
|
|
Loading…
Reference in New Issue