Friction mixing law. The idea is to allow either fixture to drive the friction to zero. For example, anything slides on ice.
(friction1, friction2 float64)
| 7 | /// Friction mixing law. The idea is to allow either fixture to drive the friction to zero. |
| 8 | /// For example, anything slides on ice. |
| 9 | func B2MixFriction(friction1, friction2 float64) float64 { |
| 10 | return math.Sqrt(friction1 * friction2) |
| 11 | } |
| 12 | |
| 13 | /// Restitution mixing law. The idea is allow for anything to bounce off an inelastic surface. |
| 14 | /// For example, a superball bounces on anything. |
no outgoing calls
no test coverage detected