Browse Source

formatting

Dave Schuyler 19 years ago
parent
commit
b5678306f4
1 changed files with 6 additions and 2 deletions
  1. 6 2
      panda/src/collide/collisionPlane.cxx

+ 6 - 2
panda/src/collide/collisionPlane.cxx

@@ -196,7 +196,9 @@ test_intersection_from_line(const CollisionEntry &entry) const {
 
 
   LPoint3f into_intersection_point = from_origin + t * from_direction;
   LPoint3f into_intersection_point = from_origin + t * from_direction;
 
 
-  LVector3f normal = (has_effective_normal() && line->get_respect_effective_normal()) ? get_effective_normal() : get_normal();
+  LVector3f normal = 
+    (has_effective_normal() && line->get_respect_effective_normal())
+    ? get_effective_normal() : get_normal();
 
 
   new_entry->set_surface_normal(normal);
   new_entry->set_surface_normal(normal);
   new_entry->set_surface_point(into_intersection_point);
   new_entry->set_surface_point(into_intersection_point);
@@ -239,7 +241,9 @@ test_intersection_from_ray(const CollisionEntry &entry) const {
 
 
   LPoint3f into_intersection_point = from_origin + t * from_direction;
   LPoint3f into_intersection_point = from_origin + t * from_direction;
 
 
-  LVector3f normal = (has_effective_normal() && ray->get_respect_effective_normal()) ? get_effective_normal() : get_normal();
+  LVector3f normal =
+    (has_effective_normal() && ray->get_respect_effective_normal()) 
+    ? get_effective_normal() : get_normal();
 
 
   new_entry->set_surface_normal(normal);
   new_entry->set_surface_normal(normal);
   new_entry->set_surface_point(into_intersection_point);
   new_entry->set_surface_point(into_intersection_point);