00001 00005 #ifndef _DEFINICOES__H_ 00006 #define _DEFINICOES__H_ 00007 00008 /******************************************************************************/ 00009 00010 enum ResultadoAtualizacao 00011 { 00012 REPRODUCAO, MORTE, NORMAL 00013 }; 00014 00015 /******************************************************************************/ 00016 00017 /* 00018 Fatores de PI 00019 */ 00020 const float DPI = 6.283185307179586476925286766559f; 00021 const float PI = 3.1415926535897932384626433832795f; 00022 const float MPI = 1.5707963267948966192313216916398f; 00023 const float QPI = 0.78539816339744830961566084581988f; 00024 00025 /******************************************************************************/ 00026 00028 const int FATOR_SELECAO = 2; 00029 00031 const float FATOR_PERCEPCAO_GRAOS = 16.0f; 00032 00034 const float PERDA_ENERGIA_CABECA = 0.06f; 00035 00037 const float ACEL_GIRO = 0.06f; 00038 00040 const int RAIO_GRAO = 6; 00041 00043 const float VEL_SEGMENTO = 1.0f; 00044 00046 const float FLUIDEZ = 0.0006f; 00047 const float FREIO_IMPULSO = 0.0078125f; 00048 const float VISCOSIDADE = 6.0f; 00049 const float DISSIPACAO_ENERGETICA = 0.0004f; 00050 const float ATRITO = 0.9f; 00051 const float PERDA_ENERGETICA_IDADE = 0.0001f; 00052 00054 const int ENERGIA_INICIAL_PADRAO = 200; 00055 00056 const float ATRITO_ANGULAR = 0.8f; 00057 00058 const int DISTANCIA_SELECAO_PAREDE = 20; 00059 00060 const int GROSSURA_PAREDE = 8; 00061 00062 /******************************************************************************/ 00063 00064 #endif /* #ifndef _DEFINICOES__H_ */ 00065