Skip to content

five-on-it / apps/client/src/renderer/wheel-effects / createWheelEffects

Function: createWheelEffects() ​

createWheelEffects(effects, probe): object

Defined in: apps/client/src/renderer/wheel-effects.ts:76

The wheel effects of a scene, laying into effects on the ground probe reads.

Parameters ​

effects ​

Effects

probe ​

GroundProbe

Returns ​

update() ​

update(views, dt, now): void

Lays this frame's marks, puffs and landings for views, dt seconds after the last frame, at now (s).

Parameters ​

views ​

readonly CarView[]

dt ​

number

now ​

number

Returns ​

void