Clear some properties in `ParticleBuffer.destroy()`. (#4407)
* Clear some properties in `destroy`

* Update ParticleShader.js

The ` vec2 v = aVertexPosition;` is needless , 
the  `v` is a new vec2 , use `aVertexPosition` will puzzle users (the people that read the code).

The  ` if (color.a == 0.0) discard;` will take unexpected result.

* Update ParticleBuffer.js

* cosmetic
1 parent 444f959 commit 26db9e832d5b1bd15b5533a4c846e630a5a06fa5
@finscn finscn authored on 16 Nov 2017
Matt Karl committed on 16 Nov 2017
Showing 2 changed files
View
src/particles/webgl/ParticleBuffer.js
View
src/particles/webgl/ParticleShader.js