mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
*** empty log message ***
This commit is contained in:
parent
a049313430
commit
c563f8180c
@ -121,8 +121,8 @@ test_intersection_from_sphere(CollisionHandler *record,
|
|||||||
LPoint3f into_intersection_point = into_normal * (dist - from_radius);
|
LPoint3f into_intersection_point = into_normal * (dist - from_radius);
|
||||||
float into_depth = into_radius + from_radius - dist;
|
float into_depth = into_radius + from_radius - dist;
|
||||||
|
|
||||||
new_entry->set_into_surface_normal(into_normal);
|
new_entry->set_into_surface_normal(into_normal * entry.get_inv_wrt_space());
|
||||||
new_entry->set_into_intersection_point(into_intersection_point);
|
new_entry->set_into_intersection_point(into_intersection_point * entry.get_inv_wrt_space());
|
||||||
new_entry->set_into_depth(into_depth);
|
new_entry->set_into_depth(into_depth);
|
||||||
|
|
||||||
record->add_entry(new_entry);
|
record->add_entry(new_entry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user