mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
use new interface
This commit is contained in:
parent
04dfcb2695
commit
f4903270ea
@ -27,7 +27,7 @@ public:
|
||||
CollisionEntrySorter(CollisionEntry *entry) {
|
||||
_entry = entry;
|
||||
LVector3f vec =
|
||||
entry->get_from_intersection_point() -
|
||||
entry->get_surface_point(entry->get_from_node_path()) -
|
||||
entry->get_from()->get_collision_origin();
|
||||
_dist2 = vec.length_squared();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user