whoops, fix motion detection

This commit is contained in:
David Rose 2003-10-30 00:36:16 +00:00
parent 4c970826fc
commit 8611e6c881
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();