Skip to content

Commit

Permalink
fix for noe object rename
Browse files Browse the repository at this point in the history
  • Loading branch information
aardgoose committed Jun 23, 2019
1 parent bffb09d commit 295c2bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/webgl_materials_compile.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@
THREE.OperatorNode.MUL
);

var cycle = new THREE.Math1Node( sinCycleInSecs, THREE.Math1Node.SIN );
var cycle = new THREE.MathNode( sinCycleInSecs, THREE.MathNode.SIN );

var cycleColor = new THREE.OperatorNode(
cycle,
color,
THREE.OperatorNode.MUL
);

var cos = new THREE.Math1Node( cycleColor, THREE.Math1Node.SIN );
var cos = new THREE.MathNode( cycleColor, THREE.MathNode.SIN );

mtl.color = new THREE.ColorNode( 0 );
mtl.emissive = cos;
Expand Down

0 comments on commit 295c2bd

Please sign in to comment.