00001 00012 /*************************************************************************** 00013 * Copyright (C) 2007 by Jan Koci * 00014 * honza.koci@email.cz * 00015 * http://kengine.sourceforge.net/tutorial/ 00016 * * 00017 * This program is free software; you can redistribute it and/or modify * 00018 * it under the terms of the GNU General Public License as published by * 00019 * the Free Software Foundation; either version 2 of the License, or * 00020 * (at your option) any later version. * 00021 * * 00022 * This program is distributed in the hope that it will be useful, * 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00025 * GNU General Public License for more details. * 00026 * * 00027 * You should have received a copy of the GNU General Public License * 00028 * along with this program; if not, write to the * 00029 * Free Software Foundation, Inc., * 00030 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00031 ***************************************************************************/ 00032 00033 #pragma once 00034 00035 #include "../System/GameData/K3dGameData.h" 00036 #include "../Geometry/K3dTriangleObj.h" 00037 #include "K3dDrawTriangle.h" 00038 #include "K3dDrawSphere.h" 00039 #include "K3dDrawLine.h" 00040 #include "K3dDrawPlane.h" 00041 #include "K3dDrawVertex.h" 00042 00043 class K3dDraw: 00044 public K3dDrawTriangle, 00045 public K3dDrawLine, 00046 public K3dDrawSphere, 00047 public K3dDrawPlane, 00048 public K3dDrawVertex 00049 { 00050 K3dGameData *m_pGameData; 00051 public: 00052 K3dDraw ( K3dGameData *_pGameData ); 00053 ~K3dDraw(); 00054 00055 void BuildTriangleArray(); 00056 }; 00057