Browse Source

Merge branch 'dev' of https://github.com/mrdoob/three.js into dev

Mr.doob 10 years ago
parent
commit
a250402333
2 changed files with 0 additions and 3 deletions
  1. 0 2
      src/extras/core/Curve.js
  2. 0 1
      src/extras/core/CurvePath.js

+ 0 - 2
src/extras/core/Curve.js

@@ -182,12 +182,10 @@ THREE.Curve.prototype.getUtoTmapping = function ( u, distance ) {
 		if ( comparison < 0 ) {
 
 			low = i + 1;
-			continue;
 
 		} else if ( comparison > 0 ) {
 
 			high = i - 1;
-			continue;
 
 		} else {
 

+ 0 - 1
src/extras/core/CurvePath.js

@@ -72,7 +72,6 @@ THREE.CurvePath.prototype.getPoint = function( t ) {
 
 			return curve.getPointAt( u );
 
-			break;
 		}
 
 		i ++;