فهرست منبع

Not yet using the npm package

Raanan Weber 7 سال پیش
والد
کامیت
e11cf3089b
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 {
 
 
         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
             });