00001 00005 /* Copyright © 2009 James Legg. 00006 This program is free software: you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation, either version 3 of the License, or 00009 (at your option) any later version. 00010 */ 00011 #ifndef LIBTRACK_PIECEDISTORTION_H_ 00012 #define LIBTRACK_PIECEDISTORTION_H_ 00013 00014 #include <LinearMath/btVector3.h> 00015 00016 namespace Track 00017 { 00018 00019 class PathEdge; 00020 class PathVertex; 00021 00023 class PieceDistortion 00024 { 00025 public: 00026 PieceDistortion(); 00034 PieceDistortion(const PathEdge & edge, 00035 unsigned int number, btScalar length, btScalar min_y); 00036 virtual ~PieceDistortion(); 00037 00038 const PathEdge & edge; 00039 00040 unsigned int number; 00041 btScalar length; 00042 btScalar min_y; 00043 00045 btVector3 operator()(btVector3 vertex); 00046 protected: 00047 00048 }; 00049 00050 } 00051 00052 #endif /*LIBTRACK_PIECEDISTORTION_H_*/
Generated at Mon Sep 6 00:41:12 2010 by Doxygen version 1.4.7 for Racer version svn335.