five-on-it / packages/net-client/src/predictor / QUANTIZED_AGREEMENT
Variable: QUANTIZED_AGREEMENT
constQUANTIZED_AGREEMENT:object
Defined in: packages/net-client/src/predictor.ts:149
How far the server's word on a light piece may lie from the prediction's for the same tick and still be the same state: one step of its quantized pose (@foi/protocol's quantize.ts: the pieces travel quantized, a position in 1/256 m, a velocity in 1/64 m/s, a spin in 1/256 rad/s, a rotation's smallest three components in ten bits each).
Type Declaration
position
readonlyposition:number
rotation
readonlyrotation:0.002=2e-3
spin
readonlyspin:number
velocity
readonlyvelocity:number