
Go to the source code of this file.
Defines | |
| #define | MATERIAL_HXX |
| #define | NUM_MATERIAL 8 |
Enumerations | |
| enum | materialT { frictionless, glass, metal, wood, plastic, rubber, stone, invalid } |
Functions | |
| const char * | getMaterialStr (materialT mat) |
| void | getMaterialStr (materialT mat, char *str) |
| void | initCof () |
| materialT | readMaterial (const char *matStr) |
Variables | |
| double | Cof [NUM_MATERIAL][NUM_MATERIAL] |
| double | KineticCof [NUM_MATERIAL][NUM_MATERIAL] |
| char * | matNameList [NUM_MATERIAL] |
| #define MATERIAL_HXX |
Definition at line 41 of file material.h.
| #define NUM_MATERIAL 8 |
Definition at line 30 of file material.h.
| enum materialT |
Definition at line 28 of file material.h.
| const char* getMaterialStr | ( | materialT | mat | ) |
Definition at line 78 of file material.cpp.
| void getMaterialStr | ( | materialT | mat, | |
| char * | str | |||
| ) |
Definition at line 48 of file material.cpp.
| void initCof | ( | ) |
Definition at line 98 of file material.cpp.
| materialT readMaterial | ( | const char * | matStr | ) |
Definition at line 36 of file material.cpp.
| double Cof[NUM_MATERIAL][NUM_MATERIAL] |
Definition at line 31 of file material.cpp.
| double KineticCof[NUM_MATERIAL][NUM_MATERIAL] |
Definition at line 32 of file material.cpp.
| char* matNameList[NUM_MATERIAL] |
Definition at line 33 of file material.cpp.