feat(net): add lag compensation with history rewind and interpolation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 16:27:58 +09:00
parent 28b24226e7
commit 6beafc6949
2 changed files with 142 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ pub mod client;
pub mod reliable;
pub mod snapshot;
pub mod interpolation;
pub mod lag_compensation;
pub use packet::Packet;
pub use socket::NetSocket;
@@ -13,3 +14,4 @@ pub use client::{NetClient, ClientEvent};
pub use reliable::{ReliableChannel, OrderedChannel};
pub use snapshot::{Snapshot, EntityState, serialize_snapshot, deserialize_snapshot, diff_snapshots, apply_diff};
pub use interpolation::InterpolationBuffer;
pub use lag_compensation::LagCompensation;