Skip to content

Commit d976fcb

Browse files
RobLoachjramstedt
authored andcommitted
RaycastResult: Ray is not a needed require
When importing `Ray`, you end up with circular dependencies. Since it's not needed here, we can safely remove it.
1 parent ff95824 commit d976fcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/collision/RaycastResult.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
var vec2 = require('../math/vec2');
2-
var Ray = require('../collision/Ray');
32

43
module.exports = RaycastResult;
54

@@ -131,4 +130,4 @@ RaycastResult.prototype.set = function(
131130
this.body = body;
132131
this.fraction = fraction;
133132
this.faceIndex = faceIndex;
134-
};
133+
};

0 commit comments

Comments
 (0)