Browse Source

Face3ized Qrcode.

Mr.doob 12 years ago
parent
commit
4fba7c36bb
1 changed files with 2 additions and 1 deletions
  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 ) {
 
-		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 ) );
 
 	}