- Cal3D 0.11 API Reference -

physiquedualquaternion.h

00001 //****************************************************************************//
00002 // physiquedualquaternion.h                                                   //
00003 // Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger                       //
00004 //****************************************************************************//
00005 // This library is free software; you can redistribute it and/or modify it    //
00006 // under the terms of the GNU Lesser General Public License as published by   //
00007 // the Free Software Foundation; either version 2.1 of the License, or (at    //
00008 // your option) any later version.                                            //
00009 //****************************************************************************//
00010 
00011 #ifndef CAL_PHYSIQUE_DUAL_QUATERNION_H
00012 #define CAL_PHYSIQUE_DUAL_QUATERNION_H
00013 
00014 //****************************************************************************//
00015 // Includes                                                                   //
00016 //****************************************************************************//
00017 
00018 #include "cal3d/physique.h"
00019 
00020 //****************************************************************************//
00021 // Class declaration                                                          //
00022 //****************************************************************************//
00023 
00024 class CalPhysiqueDualQuat : public CalPhysique
00025 {
00026 public:
00027   CalPhysiqueDualQuat(CalModel *pModel)
00028     : CalPhysique( pModel ) {}
00029 
00030   virtual   int calculateNormals(CalSubmesh *pSubmesh, float *pNormalBuffer, int stride=0) const;
00031   virtual   int calculateVertices(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const;
00032   virtual int calculateVerticesAndNormals(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const;
00033   virtual int calculateVerticesNormalsAndTexCoords(CalSubmesh *pSubmesh, float *pVertexBuffer, int NumTexCoords=1) const;
00034 };
00035 
00036 
00037 #endif  // CAL_PHYSIQUE_DUAL_QUATERNION_H
00038 
00039 //****************************************************************************//

Generated by The Cal3D Team with Doxygen 1.7.3