mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
whoops, fix motion detection
This commit is contained in:
parent
4c970826fc
commit
8611e6c881
@ -382,7 +382,7 @@ test_intersection_from_sphere(const CollisionEntry &entry) const {
|
||||
DCAST_INTO_R(sphere, entry.get_from(), 0);
|
||||
|
||||
CPT(TransformState) wrt_space = entry.get_wrt_space();
|
||||
CPT(TransformState) wrt_prev_space = entry.get_wrt_space();
|
||||
CPT(TransformState) wrt_prev_space = entry.get_wrt_prev_space();
|
||||
|
||||
const LMatrix4f &wrt_mat = wrt_space->get_mat();
|
||||
|
||||
|
@ -132,7 +132,7 @@ test_intersection_from_sphere(const CollisionEntry &entry) const {
|
||||
DCAST_INTO_R(sphere, entry.get_from(), 0);
|
||||
|
||||
CPT(TransformState) wrt_space = entry.get_wrt_space();
|
||||
CPT(TransformState) wrt_prev_space = entry.get_wrt_space();
|
||||
CPT(TransformState) wrt_prev_space = entry.get_wrt_prev_space();
|
||||
|
||||
const LMatrix4f &wrt_mat = wrt_space->get_mat();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user