mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
first attempt of implmenting asm style box2d engine
This commit is contained in:
parent
ebf167107a
commit
cca3a258ba
12 changed files with 12255 additions and 10876 deletions
|
|
@ -135,6 +135,12 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, Nc, reque
|
|||
body.SetAngularVelocity(update.av);
|
||||
}
|
||||
}
|
||||
|
||||
if(Settings.USE_ASM) {
|
||||
if(body.GetNext() == body) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
} while (body = body.GetNext());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue