Browse Source

CannonPhysics: Remove maxSubSteps parameter.

Mr.doob 5 years ago
parent
commit
73837ad46b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/physics/CannonPhysics.js

+ 1 - 1
examples/jsm/physics/CannonPhysics.js

@@ -186,7 +186,7 @@ function CannonPhysics() {
 			var delta = ( time - lastTime ) / 1000;
 
 			// console.time( 'world.step' );
-			world.step( frameTime, delta, frameRate );
+			world.step( frameTime, delta );
 			// console.timeEnd( 'world.step' );
 
 		}