Преглед изворни кода

Adding iterations settings to the world.

Raanan Weber пре 9 година
родитељ
комит
b7965874f4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

+ 1 - 1
src/Physics/Plugins/babylon.oimoJSPlugin.ts

@@ -10,7 +10,7 @@ module BABYLON {
         }
 
         public initialize(iterations?: number): void {
-            this._world = new OIMO.World();
+            this._world = new OIMO.World(null, null, iterations);
             this._world.clear();
         }