update to three.js r67.

This commit is contained in:
satoru kimura
2014-04-26 16:43:59 +09:00
parent 1c1c12eaea
commit dd54ecd6b4
2 changed files with 311 additions and 239 deletions
+2 -4
View File
@@ -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;
@@ -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 );
@@ -17321,7 +17320,6 @@ function render() {
// mergeVertices(); is run in case of duplicated vertices
smooth.mergeVertices();
smooth.computeCentroids();
smooth.computeFaceNormals();
smooth.computeVertexNormals();
+309 -235
View File
File diff suppressed because it is too large Load Diff