Explorar el Código

Not yet using the npm package

Raanan Weber hace 7 años
padre
commit
e11cf3089b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

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

@@ -10,7 +10,7 @@ module BABYLON {
 
 
         constructor(iterations?: number) {
-            this.BJSOIMO = typeof OIMO !== 'undefined' ? OIMO : (typeof require !== 'undefined' ? require('oimo') : undefined);
+            this.BJSOIMO = typeof OIMO !== 'undefined' ? OIMO : (typeof require !== 'undefined' ? require('./Oimo') : undefined);
             this.world = new this.BJSOIMO.World({
                 iterations: iterations
             });