提交 18e1a5f2 编写于 作者: M Mugen87

Box2: Correct comment

上级 ea9ef6d3
......@@ -155,7 +155,8 @@ Object.assign( Box2.prototype, {
intersectsBox: function ( box ) {
// using 6 splitting planes to rule out intersections.
// using 4 splitting planes to rule out intersections
return box.max.x < this.min.x || box.min.x > this.max.x ||
box.max.y < this.min.y || box.min.y > this.max.y ? false : true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册