Browse Source

fix mod function

SUNAG 9 năm trước cách đây
mục cha
commit
0c52b0c188
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;