Physics · function
exactSin
Math.sin, reproducibly. NaN in, NaN out; an infinity answers NaN, as Math.sin does.
Explained in Your first game, Rigid bodies.
function exactSin(x: number): numberimport { exactSin } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
x | number |