| 1245 | } |
| 1246 | |
| 1247 | int |
| 1248 | SimpleContact3D::setParameter(const char **argv, int argc, Parameter ¶m) |
| 1249 | { |
| 1250 | if (argc < 1) |
| 1251 | return -1; |
| 1252 | |
| 1253 | if (strcmp(argv[0],"friction") == 0) { |
| 1254 | return param.addObject(1, this); |
| 1255 | } |
| 1256 | |
| 1257 | return -1; |
| 1258 | } |
| 1259 | |
| 1260 | int |
| 1261 | SimpleContact3D::updateParameter(int parameterID, Information &info) |