// SetFriction sets coefficient of friction. func (s shapeBase) SetFriction(f float64) { C.cpShapeSetFriction(s.c(), C.cpFloat(f)) }
func (s *Shape) SetFriction(val float32) { C.cpShapeSetFriction(s.shape, f(val)) }