| 835 | } |
| 836 | |
| 837 | int |
| 838 | SimpleContact2D::setParameter(const char **argv, int argc, Parameter ¶m) |
| 839 | { |
| 840 | if (argc < 1) |
| 841 | return -1; |
| 842 | |
| 843 | if (strcmp(argv[0],"friction") == 0) { |
| 844 | return param.addObject(1, this); |
| 845 | } |
| 846 | |
| 847 | return -1; |
| 848 | } |
| 849 | |
| 850 | int |
| 851 | SimpleContact2D::updateParameter(int parameterID, Information &info) |