clean client code
This commit is contained in:
parent
f3619ba891
commit
21a30ad212
18 changed files with 294 additions and 268 deletions
9
public/js/starbugs/consts.js
Normal file
9
public/js/starbugs/consts.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
//@20
|
||||
|
||||
const b2Vec2 = Box2D.Common.Math.b2Vec2;
|
||||
const b2World = Box2D.Dynamics.b2World;
|
||||
const b2Body = Box2D.Dynamics.b2Body;
|
||||
const b2BodyDef = Box2D.Dynamics.b2BodyDef;
|
||||
const b2Fixture = Box2D.Dynamics.b2Fixture;
|
||||
const b2FixtureDef = Box2D.Dynamics.b2FixtureDef;
|
||||
const b2PolygonShape = Box2D.Collision.Shapes.b2PolygonShape;
|
Loading…
Add table
Add a link
Reference in a new issue