Skip to content

Commit

Permalink
Particle example: Fixed paths and made the scene more in direct view …
Browse files Browse the repository at this point in the history
…of the camera
  • Loading branch information
cvetan5 committed Apr 13, 2016
1 parent 4d71f20 commit 426453f
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 129 deletions.
5 changes: 2 additions & 3 deletions html/examples/particle-engine/particles.webtundrajs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ define([
"core/script/IApplication"
], function(THREE, Tundra, IApplication) {

var InputAPIExample = IApplication.$extend(
var ParticleEngineExample = IApplication.$extend(
{
__init__ : function()
{
Expand All @@ -22,7 +22,6 @@ var InputAPIExample = IApplication.$extend(
{
this.stators = Tundra.scene.findEntitiesContaining("stator");
Tundra.frame.onUpdate(this, this.onUpdate);
console.log(this.stators);
},

onUpdate: function()
Expand All @@ -36,6 +35,6 @@ var InputAPIExample = IApplication.$extend(
}
});

return InputAPIExample;
return ParticleEngineExample;

});
Loading

0 comments on commit 426453f

Please sign in to comment.