![]() |
torcs - 1.2.2 | ![]() |
00001 /*************************************************************************** 00002 00003 file : aero.h 00004 created : Sun Mar 19 00:04:59 CET 2000 00005 copyright : (C) 2000 by Eric Espie 00006 email : torcs@free.fr 00007 version : $Id: aero.h,v 1.5 2004/01/15 09:54:06 olethros Exp $ 00008 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef _AERO_H_ 00021 #define _AERO_H_ 00022 00023 typedef struct 00024 { 00025 /* dynamic */ 00026 tdble drag; /* drag force along car x axis */ 00027 tdble lift[2]; /* front & rear lift force along car z axis */ 00028 tdble lateral_drag; 00029 tdble vertical_drag; 00030 00031 /* static */ 00032 tdble SCx2; 00033 tdble Clift[2]; /* front & rear lift due to body not wings */ 00034 tdble Cd; /* for aspiration */ 00035 } tAero; 00036 00037 00038 typedef struct 00039 { 00040 /* dynamic */ 00041 t3Dd forces; 00042 tdble Kx; 00043 tdble Kz; 00044 tdble angle; 00045 00046 /* static */ 00047 t3Dd staticPos; 00048 00049 } tWing; 00050 00051 00052 00053 #endif /* _AERO_H_ */ 00054 00055 00056