Explorar o código

Color chromatic lerp function

Remi %!s(int64=7) %!d(string=hai) anos
pai
achega
10bb930d48
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/math/Color.js

+ 2 - 2
src/math/Color.js

@@ -540,8 +540,8 @@ Object.assign( Color.prototype, {
 		return this;
 
 	},
-	
-	lerpChromatic: function ( color, alpha  ) {
+
+	lerpChromatic: function ( color, alpha ) {
 
 		var hslA = this.getHSL();
 		var hslB = color.getHSL();