MiniQuake2

miniquake2.client.prediction.PredictionWorkspace

PredictionWorkspace

struct PredictionWorkspace

Product prediction replays the same bounded command ring every render frame. Keep the Pmove graph, touch array, private slide scratch and result storage owned by the client session instead of rebuilding them at 125 Hz. A predictInto result remains valid until the next call on its workspace.

View source

Members

localState

localState

Stores the local state value associated with prediction workspace.

View source

pmove

pmove

Stores the pmove value associated with prediction workspace.

View source

result

result

Stores the result value associated with prediction workspace.

View source