Explorar o código

Not yet using the npm package

Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
e11cf3089b
Modificáronse 1 ficheiros con 1 adicións e 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
             });