Browse Source

fix mod function

SUNAG 9 years ago
parent
commit
0c52b0c188
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/nodes/math/Math2Node.js

+ 1 - 1
examples/js/nodes/math/Math2Node.js

@@ -79,7 +79,7 @@ THREE.Math2Node.prototype.generate = function( builder, output ) {
 
 		case THREE.Math2Node.MIN:
 		case THREE.Math2Node.MAX:
-		case THREE.Math2Node.MODULO:
+		case THREE.Math2Node.MOD:
 			a = this.a.build( builder, type );
 			b = this.b.build( builder, bl == 1 ? 'fv1' : type );
 			break;