Browse Source

Animation: Indentation to tabs.

Mr.doob 11 years ago
parent
commit
80b17f800b
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/extras/animation/Animation.js

+ 7 - 7
src/extras/animation/Animation.js

@@ -101,10 +101,10 @@ THREE.Animation.prototype.reset = function () {
 
 THREE.Animation.prototype.update = (function(){
 
-    var points = [];
-    var target = new THREE.Vector3();
-    
-    // Catmull-Rom spline
+	var points = [];
+	var target = new THREE.Vector3();
+	
+	// Catmull-Rom spline
 
 	var interpolateCatmullRom = function ( points, scale ) {
 
@@ -145,9 +145,9 @@ THREE.Animation.prototype.update = (function(){
 		return ( 2 * ( p1 - p2 ) + v0 + v1 ) * t3 + ( - 3 * ( p1 - p2 ) - 2 * v0 - v1 ) * t2 + v0 * t + p1;
 	
 	};
-    
-    return function ( delta ) {
-	    if ( this.isPlaying === false ) return;
+	
+	return function ( delta ) {
+		if ( this.isPlaying === false ) return;
 	
 		this.currentTime += delta * this.timeScale;