瀏覽代碼

unneeded function

Raanan Weber 7 年之前
父節點
當前提交
87e500aadf
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Physics/Plugins/babylon.oimoJSPlugin.ts

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

@@ -343,13 +343,13 @@ module BABYLON {
             body.awake();
         }
 
-        private _getLastShape(body: any): any {
+        /*private _getLastShape(body: any): any {
             var lastShape = body.shapes;
             while (lastShape.next) {
                 lastShape = lastShape.next;
             }
             return lastShape;
-        }
+        }*/
 
         public setLinearVelocity(impostor: PhysicsImpostor, velocity: Vector3) {
             impostor.physicsBody.linearVelocity.init(velocity.x, velocity.y, velocity.z);