Skip to content

five-on-it / packages/protocol/src/codec / quantizeInput

Function: quantizeInput() ​

quantizeInput(input): VehicleInput

Defined in: packages/protocol/src/codec.ts:154

The input as the server decodes it: the axes, the aim and the bytes at the wire precision.

Parameters ​

input ​

VehicleInput

Returns ​

VehicleInput