Przeglądaj źródła

fix mod function

SUNAG 10 lat temu
rodzic
commit
0c52b0c188
1 zmienionych plików z 1 dodań i 1 usunięć
  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;

粤ICP备19079148号