mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
formatting
This commit is contained in:
parent
e881c28f75
commit
c6e0a88590
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user