Skip to content

Commit

Permalink
color tweening in example, removed console log for "Needs update"
Browse files Browse the repository at this point in the history
  • Loading branch information
gouldingken committed Oct 24, 2016
1 parent ac4f769 commit ac0574e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/es5/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ var _getPositions2 = function (inputs) {
x: input.sin * 400 + Math.random() * 20,
y: input.cos * 400 + Math.random() * 20,
size: 1,
color: '#f0ff0f'
r: Math.abs(input.tan),
g: Math.abs(input.sin),
b: Math.abs(input.cos),
});
});

Expand Down
1 change: 0 additions & 1 deletion src/AnimatedPoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export default class AnimatedPoints {

Object.keys(keysWithChanges).forEach((key) => {
keyMatch[key].forEach((attr, i) => {
console.log(`Needs update ${attr}`);
this.geometry.attributes[attr].needsUpdate = true;
});
});
Expand Down

0 comments on commit ac0574e

Please sign in to comment.