formatting

This commit is contained in:
Dave Schuyler 2004-05-19 04:19:59 +00:00
parent e881c28f75
commit c6e0a88590
2 changed files with 2 additions and 5 deletions

View File

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

View File

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