|
|
/*************************************************************************** vim:tabstop=4 modele.h - description ------------------- begin : Wed Jul 4 2001 copyright : (C) 2001 by Francois Biot email : fbiot@mail.dotcom.fr *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef MODELE_H #define MODELE_H #include/** *@author Francois Biot A modele is a set of points/triangle. This class uses the triangle strip to render itself. Triangle strip will have many pointers on the points of the modele. */ class modele : public glsolid { public: modele(const CString &sName) : glsolid(sName) {}; virtual ~modele(); /* // From glsurface/glsolid virtual void Translate (const vect&); virtual void Render () const; virtual glsurface* Duplicate ()const=0; virtual float PlanSide (const glsurface*) const; virtual const vect& Normal () const { return mvNorm; }; // TODO virtual vect AVect (const point &p) const { return mvNorm;}; // TODO virtual glsurface* Collision ( const point &poStart, const vect &vPath, point* pptInter, glsolid* &pSolid); virtual void SetColor (const couleur&); virtual point GPoint () const; */ }; #endif
Generated by: saturn on FrancoisLinux on Sun Feb 3 20:01:44 2002, using kdoc 2.0a53. |