Explorar o código

Fixed Color unit test.

Mr.doob %!s(int64=12) %!d(string=hai) anos
pai
achega
41aa9ed915
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/unit/math/Color.js

+ 2 - 2
test/unit/math/Color.js

@@ -91,11 +91,11 @@ test( "clone", function(){
     ok(c2.getHex() == 0x008080, "Hex c2: " + c2.getHex());
 });
 
-test( "lerpSelf", function(){
+test( "lerp", function(){
     var c = new THREE.Color();
     var c2 = new THREE.Color();
     c.setRGB(0, 0, 0);
-    c.lerpSelf(c2, 2);
+    c.lerp(c2, 2);
     ok( c.r == 2, "Red: " + c.r );
     ok( c.g == 2, "Green: " + c.g );
     ok( c.b == 2, "Blue: " + c.b );