Browse Source

Clean up.

Mr.doob 9 years ago
parent
commit
9a1a06c9f2
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/math/Math.js

+ 5 - 4
src/math/Math.js

@@ -70,11 +70,12 @@ _Math = {
 
 	},
 
-	//https://en.wikipedia.org/wiki/Linear_interpolation
-	
-	lerp: function( x, y, t ){
+	// https://en.wikipedia.org/wiki/Linear_interpolation
+
+	lerp: function ( x, y, t ) {
 
 		return ( 1 - t ) * x + t * y;
+
 	},
 
 	// http://en.wikipedia.org/wiki/Smoothstep
@@ -173,4 +174,4 @@ _Math = {
 };
 
 
-export { _Math };
+export { _Math };