Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#2110 from gyohk/master
Browse files Browse the repository at this point in the history
update to three.js r67.
  • Loading branch information
Bartvds committed Apr 28, 2014
2 parents f88c239 + dd54ecd commit 44f6fbf
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 239 deletions.
6 changes: 2 additions & 4 deletions threejs/three-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10550,7 +10550,6 @@ var container, stats;
}

geometry.computeFaceNormals();
geometry.computeCentroids();

group = new THREE.Object3D();
group.scale.x = group.scale.y = group.scale.z = 2;
Expand Down Expand Up @@ -16481,13 +16480,13 @@ function render() {
var normalLength = 15;

var fl: number;
var face: THREE.Face;
var face: THREE.Face3;

for( f = 0, fl = geometry.faces.length; f < fl; f ++ ) {
face = geometry.faces[ f ];
var arrow = new THREE.ArrowHelper(
face.normal,
face.centroid,
face.normal,
normalLength,
0x3333FF );
mesh.add( arrow );
Expand Down Expand Up @@ -17321,7 +17320,6 @@ function render() {
// mergeVertices(); is run in case of duplicated vertices
smooth.mergeVertices();

smooth.computeCentroids();
smooth.computeFaceNormals();
smooth.computeVertexNormals();

Expand Down
Loading

0 comments on commit 44f6fbf

Please sign in to comment.