Skip to content

Possible memory leak in resolver #12

@modeswitch

Description

@modeswitch

We don't need a new vector for each frame. Allocate a single b2Vec2 and reset it instead.

var newGravity = new Box2D.b2Vec2(totalForce[0], totalForce[1]);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions