#include <stdio.h>
#include <string.h>
#include "material.h"
Go to the source code of this file.
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] |
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] |
{"frictionless","glass","metal","wood", "plastic","rubber","stone","invalid"}
Definition at line 33 of file material.cpp.