Ver Fonte

clock is no longer using date

simonThiele há 9 anos atrás
pai
commit
e32831552e
1 ficheiros alterados com 0 adições e 14 exclusões
  1. 0 14
      test/unit/core/Clock.js

+ 0 - 14
test/unit/core/Clock.js

@@ -36,17 +36,3 @@ test( "clock with performance", function() {
 	self.performance.next(1000);
 	ok( clock.getElapsedTime() === 0.223 , "don't update time if the clock was stopped");
 });
-
-test( "clock with date", function() {
-	// remove the performance object so that clock takes Date()
-	self.performance = undefined;
-
-	var clock = new THREE.Clock();
-
-	clock.start();
-
-	// if a value was calculated, the clock took the alternative Date() object
-	ok( clock.getElapsedTime() >= 0 , "okay");
-
-	clock.stop();
-});