![]() |
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 18:23:22 torcs 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 00029 /* static */ 00030 tdble SCx2; 00031 tdble Clift[2]; /* front & rear lift due to body not wings */ 00032 tdble Cd; /* for aspiration */ 00033 } tAero; 00034 00035 00036 typedef struct 00037 { 00038 /* dynamic */ 00039 t3Dd forces; 00040 tdble Kx; 00041 tdble Kz; 00042 tdble angle; 00043 00044 /* static */ 00045 t3Dd staticPos; 00046 00047 } tWing; 00048 00049 00050 00051 #endif /* _AERO_H_ */ 00052 00053 00054