From b5678306f4c8ff0ced9cf27b8f3d7727a6d9a046 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Fri, 12 May 2006 23:12:46 +0000 Subject: [PATCH] formatting --- panda/src/collide/collisionPlane.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/panda/src/collide/collisionPlane.cxx b/panda/src/collide/collisionPlane.cxx index a8b1293e4b..31dbaf86a5 100644 --- a/panda/src/collide/collisionPlane.cxx +++ b/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; - 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_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; - 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_point(into_intersection_point);