# Function: mixRestitution()

> **mixRestitution**(`restitution1`, `restitution2`): `number`

Restitution mixing law. The idea is allow for anything to bounce off an
inelastic surface. For example, a superball bounces on anything.

## Parameters

• **restitution1**: `number`

• **restitution2**: `number`

## Returns

`number`
