mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
broaden 90-degree test substantially
This commit is contained in:
parent
6e9a56e1fc
commit
9fd192e789
@ -189,12 +189,11 @@ handle_entries() {
|
|||||||
sd._valid = false;
|
sd._valid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (fabs(d) < 0.1) {
|
} else {
|
||||||
// These two shoves are largely at 90 degress to
|
// These two shoves are not in the same direction.
|
||||||
// each other. If they are both from polygons
|
// If they are both from polygons that are a child
|
||||||
// that are a child of the same node, try to
|
// of the same node, try to determine the shape of
|
||||||
// determine the shape of the corner (convex or
|
// the corner (convex or concave).
|
||||||
// concave).
|
|
||||||
const CollisionSolid *s1 = sd._entry->get_into();
|
const CollisionSolid *s1 = sd._entry->get_into();
|
||||||
const CollisionSolid *s2 = sd2._entry->get_into();
|
const CollisionSolid *s2 = sd2._entry->get_into();
|
||||||
if (s1 != (CollisionSolid *)NULL &&
|
if (s1 != (CollisionSolid *)NULL &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user