- Cal3D 0.11 API Reference -

physiquedualquaternion.h
1//****************************************************************************//
2// physiquedualquaternion.h //
3// Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger //
4//****************************************************************************//
5// This library is free software; you can redistribute it and/or modify it //
6// under the terms of the GNU Lesser General Public License as published by //
7// the Free Software Foundation; either version 2.1 of the License, or (at //
8// your option) any later version. //
9//****************************************************************************//
10
11#ifndef CAL_PHYSIQUE_DUAL_QUATERNION_H
12#define CAL_PHYSIQUE_DUAL_QUATERNION_H
13
14//****************************************************************************//
15// Includes //
16//****************************************************************************//
17
18#include "cal3d/physique.h"
19
20//****************************************************************************//
21// Class declaration //
22//****************************************************************************//
23
25{
26public:
28 : CalPhysique( pModel ) {}
29
30 virtual int calculateNormals(CalSubmesh *pSubmesh, float *pNormalBuffer, int stride=0) const;
31 virtual int calculateVertices(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const;
32 virtual int calculateVerticesAndNormals(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const;
33 virtual int calculateVerticesNormalsAndTexCoords(CalSubmesh *pSubmesh, float *pVertexBuffer, int NumTexCoords=1) const;
34};
35
36
37#endif // CAL_PHYSIQUE_DUAL_QUATERNION_H
38
39//****************************************************************************//
Definition model.h:31
Definition physiquedualquaternion.h:25
virtual int calculateVertices(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const
Calculates the transformed vertex data.
Definition physiquedualquaternion.cpp:299
virtual int calculateVerticesAndNormals(CalSubmesh *pSubmesh, float *pVertexBuffer, int stride=0) const
Calculates the transformed vertex data.
Definition physiquedualquaternion.cpp:462
virtual int calculateVerticesNormalsAndTexCoords(CalSubmesh *pSubmesh, float *pVertexBuffer, int NumTexCoords=1) const
Calculates the transformed vertex data.
Definition physiquedualquaternion.cpp:578
virtual int calculateNormals(CalSubmesh *pSubmesh, float *pNormalBuffer, int stride=0) const
Calculates the transformed normal data.
Definition physiquedualquaternion.cpp:390
Definition physique.h:23
CalPhysique(CalModel *pModel)
Constructs the physique instance.
Definition physique.cpp:38
Definition submesh.h:30

Generated by The Cal3D Team with Doxygen 1.10.0