Skip to content

Commit

Permalink
1.2.4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
saharan committed Oct 14, 2022
1 parent d9bd6f6 commit e8dd122
Show file tree
Hide file tree
Showing 116 changed files with 259 additions and 277 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OimoPhysics 1.2.2
OimoPhysics 1.2.4
---

A lightweight 3D physics engine.
Expand Down
39 changes: 19 additions & 20 deletions bin/js/OimoPhysics.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* OimoPhysics 1.2.2 (c) 2022 saharan, The MIT License */
// Generated by Haxe 4.2.2
/* OimoPhysics 1.2.4 (c) 2022 saharan, The MIT License */
(function ($global) { "use strict";
class HxOverrides {
static now() {
Expand Down Expand Up @@ -36835,24 +36834,6 @@ class oimo_dynamics_rigidbody_RigidBody {
}
}
removeShape(shape) {
let prev = shape._prev;
let next = shape._next;
if(prev != null) {
prev._next = next;
}
if(next != null) {
next._prev = prev;
}
if(shape == this._shapeList) {
this._shapeList = this._shapeList._next;
}
if(shape == this._shapeListLast) {
this._shapeListLast = this._shapeListLast._prev;
}
shape._next = null;
shape._prev = null;
this._numShapes--;
shape._rigidBody = null;
if(this._world != null) {
let _this = this._world;
_this._broadPhase.destroyProxy(shape._proxy);
Expand Down Expand Up @@ -36957,6 +36938,24 @@ class oimo_dynamics_rigidbody_RigidBody {
}
_this._numShapes--;
}
let prev = shape._prev;
let next = shape._next;
if(prev != null) {
prev._next = next;
}
if(next != null) {
next._prev = prev;
}
if(shape == this._shapeList) {
this._shapeList = this._shapeList._next;
}
if(shape == this._shapeListLast) {
this._shapeListLast = this._shapeListLast._prev;
}
shape._next = null;
shape._prev = null;
this._numShapes--;
shape._rigidBody = null;
this.updateMass();
let s = this._shapeList;
while(s != null) {
Expand Down
12 changes: 6 additions & 6 deletions bin/js/OimoPhysics.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e8dd122

Please sign in to comment.