Browse Source

formatting

Dave Schuyler 21 years ago
parent
commit
c6e0a88590
2 changed files with 2 additions and 5 deletions
  1. 1 2
      panda/src/pgraph/portalClipper.I
  2. 1 3
      panda/src/pgraph/portalClipper.cxx

+ 1 - 2
panda/src/pgraph/portalClipper.I

@@ -95,8 +95,7 @@ draw_to(float x, float y, float z) {
 //           
 ////////////////////////////////////////////////////////////////////
 INLINE void PortalClipper::
-draw_camera_frustum()
-{
+draw_camera_frustum() {
   _color = Colorf(1,1,1,1);
   draw_hexahedron(_hex_frustum);
 }

+ 1 - 3
panda/src/pgraph/portalClipper.cxx

@@ -111,8 +111,7 @@ draw_to(const LVecBase3f &v) {
 //           
 ////////////////////////////////////////////////////////////////////
 void PortalClipper::
-draw_hexahedron(BoundingHexahedron *frustum)
-{
+draw_hexahedron(BoundingHexahedron *frustum) {
   /*
   pgraph_cat.debug() << "frustum points " << frustum->get_num_points() << endl;
 
@@ -146,7 +145,6 @@ draw_hexahedron(BoundingHexahedron *frustum)
   draw_to(frustum->get_point(5));
   draw_to(frustum->get_point(6));
   draw_to(frustum->get_point(2));
-
 }
 ////////////////////////////////////////////////////////////////////
 //     Function: PortalClipper::draw the lines