Back to index

supertuxkart  0.5+dfsg1
ssg_help.hpp
Go to the documentation of this file.
00001 //  $Id: ssg_help.hpp 796 2006-09-27 07:06:34Z hiker $
00002 //
00003 //  SuperTuxKart - a fun racing game with go-kart
00004 //  Copyright (C) 2004-2005 Steve Baker <sjbaker1@airmail.net>
00005 //  Copyright (C) 2006 SuperTuxKart-Team, Joerg Henrichs, Steve Baker
00006 //
00007 //  This program is free software; you can redistribute it and/or
00008 //  modify it under the terms of the GNU General Public License
00009 //  as published by the Free Software Foundation; either version 2
00010 //  of the License, or (at your option) any later version.
00011 //
00012 //  This program is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU General Public License for more details.
00016 //
00017 //  You should have received a copy of the GNU General Public License
00018 //  along with this program; if not, write to the Free Software
00019 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00020 
00021 #ifndef HEADER_SSG_HELP_H
00022 #define HEADER_SSG_HELP_H
00023 
00024 #include <plib/ssg.h>
00025 
00026 //* Several useful functions which don't fit anywhere else
00027 void          createDisplayLists(ssgEntity *entity);
00028 ssgTransform* add_transform     (ssgBranch* branch);
00029 void          print_model       (ssgEntity *entity, const int indent,
00030                                  const int maxLevel);
00031 void          MinMax            (ssgEntity *p,
00032                                  float *x_min, float *x_max,
00033                                  float *y_min, float *y_max,
00034                                  float *z_min=NULL, float *z_max=NULL);
00035 void          MinMax            (ssgEntity *p, sgMat4 m,
00036                                  float *x_min, float *x_max,
00037                                  float *y_min, float *y_max,
00038                                  float *z_min=NULL, float *z_max=NULL);
00039 
00040 
00041 #endif
00042 
00043 /* EOF */
00044