@brief Sets the contact solver reference parameters (time constant, damping ratio). */
| 140 | |
| 141 | /** @brief Sets the contact solver reference parameters (time constant, damping ratio). */ |
| 142 | void SetSolRef(float TimeConst, float DampRatio) |
| 143 | { |
| 144 | if (geom_solref) |
| 145 | { |
| 146 | geom_solref[0] = (mjtNum)TimeConst; |
| 147 | geom_solref[1] = (mjtNum)DampRatio; |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | /** @brief Sets the contact solver impedance parameters. */ |
| 152 | void SetSolImp(float Dmin, float Dmax, float Width) |
nothing calls this directly
no outgoing calls
no test coverage detected