Box2D Forum Archive
Search Settings
Home › Box2D Ports › Java

I think something wrong in source(maybe)

Java
M mingwuyun
Nov 29, 2012 10:54
in:DynamicTree.java
method:
public final boolean moveProxy(DynamicTreeNode proxy, final AABB aabb, Vec2 displacement)

将

Code: Select all

if (node.aabb.contains(aabb)) {
return false;
}


改为

Code: Select all

if (aabb.contains(node.aabb)) {
return false;
}

?

感觉写反了...是否如此?(it's really a wrong?)

Original thread: https://box2d.org/forum/viewtopic.php?t=8952

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About