Skip to content

Commit 2ca3b27

Browse files
committed
fix typo
1 parent 44f4d03 commit 2ca3b27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

samples/js-tests/src/Particle3DTest/Particle3DTest.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ var Particle3DHypnoDemo = Particle3DTestDemo.extend({
225225
ctor:function(){
226226
this._super();
227227

228-
var rootps = jsb.PUParticleSystem3D.create("hypno.pu", "pu_mediapack_01.math");
228+
var rootps = jsb.PUParticleSystem3D.create("hypno.pu", "pu_mediapack_01.material");
229229
rootps.setCameraMask(2);
230230
rootps.startParticleSystem();
231231
this.addChild(rootps, 0, PARTICLE_SYSTEM_TAG);
@@ -254,7 +254,7 @@ var Particle3DTimeShiftDemo = Particle3DTestDemo.extend({
254254
ctor:function(){
255255
this._super();
256256

257-
var rootps = jsb.PUParticleSystem3D.create("timeShift.pu", "pu_mediapack_01.math");
257+
var rootps = jsb.PUParticleSystem3D.create("timeShift.pu", "pu_mediapack_01.material");
258258
rootps.setScale(2);
259259
rootps.setCameraMask(2);
260260
rootps.startParticleSystem();
@@ -268,7 +268,7 @@ var Particle3DUVAnimDemo = Particle3DTestDemo.extend({
268268
ctor:function(){
269269
this._super();
270270

271-
var rootps = jsb.PUParticleSystem3D.create("UVAnimation.pu", "pu_mediapack_01.math");
271+
var rootps = jsb.PUParticleSystem3D.create("UVAnimation.pu", "pu_mediapack_01.material");
272272
rootps.setCameraMask(2);
273273
rootps.startParticleSystem();
274274
this.addChild(rootps, 0, PARTICLE_SYSTEM_TAG);
@@ -280,7 +280,7 @@ var Particle3DFirePlaceDemo = Particle3DTestDemo.extend({
280280
ctor:function(){
281281
this._super();
282282

283-
var rootps = jsb.PUParticleSystem3D.create("mp_torch.pu", "pu_mediapack_01.math");
283+
var rootps = jsb.PUParticleSystem3D.create("mp_torch.pu", "pu_mediapack_01.material");
284284
rootps.setScale(5);
285285
rootps.setCameraMask(2);
286286
rootps.startParticleSystem();
@@ -433,4 +433,4 @@ var restartParticle3DTest = function () {
433433
return new arrayOfParticle3DTest[Particle3DTestIdx ]();
434434
};
435435

436-
})();
436+
})();

0 commit comments

Comments
 (0)