Skip to content

Commit

Permalink
Bug first for rayCast on Physics2DWorld, fixes public repo issue #22
Browse files Browse the repository at this point in the history
  • Loading branch information
deltaluca committed Aug 5, 2013
1 parent 2bc1187 commit 8cced7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tslib/physics2ddevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10142,7 +10142,7 @@ class Physics2DWorld
callback.minFactor = ray.maxFactor;
callback.userCallback = customCallback;
callback.userThis = thisObject;
// TODO bug here.
callback.minShape = null;
this.broadphase.sample(rect, callback.sample, callback);

if (callback.minShape)
Expand Down

0 comments on commit 8cced7d

Please sign in to comment.