Mr.doob 12 anni fa
parent
commit
4fba7c36bb
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      examples/obj/Qrcode.js

+ 2 - 1
examples/obj/Qrcode.js

@@ -1451,7 +1451,8 @@ var Qrcode = function () {
 
 
 	function f4( a, b, c, d, color ) {
 	function f4( a, b, c, d, color ) {
 
 
-		scope.faces.push( new THREE.Face4( a, b, c, d, undefined, color ) );
+		scope.faces.push( new THREE.Face3( a, b, d, undefined, color ) );
+		scope.faces.push( new THREE.Face3( b, c, d, undefined, color ) );
 
 
 	}
 	}