#include "MEC/MecMatCa.h" /* Give handle a semantic */ /* Author : JM Soudagne */ /* Date : 1996-12-27 */ /* Version : 1.00 */ /* Modify : yyyy-mm-dd */ DNM_tdstMecMatCharacteristics *DNM_fn_p_stMecMatCharacteristicsGiveBackSemantic(DNM_tdxHandleToMecMatCharacteristics _hMatCharacteristics) { return (DNM_tdstMecMatCharacteristics *)_hMatCharacteristics; } /* Default initialisation (Recommended !!!) */ /* Author : JM Soudagne */ /* Date : 1997-03-18 */ /* Version : 1.01 */ /* Modify : 1997-05-28 */ #ifndef _FIRE_DEADCODE_U64_ /* Added by RUC */ void DNM_fn_vMecMatCharacteristicsInitDefault(DNM_tdstMecMatCharacteristics *_p_stMecMatCharacteristics) { static MTH_tdxReal s_xSlide = MTH_M_xDoubleToReal(0.); static MTH_tdxReal s_xRebound = MTH_M_xDoubleToReal(0.); DNM_M_xMatCharacteristicsSetSlide(_p_stMecMatCharacteristics,s_xSlide); DNM_M_xMatCharacteristicsSetRebound(_p_stMecMatCharacteristics,s_xRebound); } #endif /* _FIRE_DEADCODE_U64_ */ /* Added by RUC */