소스 검색

Clean up.

Mr.doob 9 년 전
부모
커밋
9a1a06c9f2
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  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 };