disable logs

This commit is contained in:
vis2k 2021-06-19 15:21:46 +08:00
parent 305e7dafa8
commit 083062ce18

View File

@ -193,7 +193,7 @@ void ApplySnapshots(ref float remoteTime, ref float interpolationTime, SortedLis
// instead of setting to '0', where we would lose the // instead of setting to '0', where we would lose the
// overshoot part and see jitter again. // overshoot part and see jitter again.
interpolationTime -= delta; interpolationTime -= delta;
Debug.LogWarning($"{name} overshot and is now at: {interpolationTime}"); //Debug.LogWarning($"{name} overshot and is now at: {interpolationTime}");
// remove first one from buffer // remove first one from buffer
buffer.RemoveAt(0); buffer.RemoveAt(0);
@ -218,7 +218,7 @@ void ApplySnapshots(ref float remoteTime, ref float interpolationTime, SortedLis
// TODO catchup // TODO catchup
Debug.Log($"{name} first={first.timestamp:F2} second={second.timestamp:F2} remoteTime={remoteTime:F2} interpolationTime={interpolationTime:F2} t={t:F2} snapshotbuffer={buffer.Count}"); //Debug.Log($"{name} first={first.timestamp:F2} second={second.timestamp:F2} remoteTime={remoteTime:F2} interpolationTime={interpolationTime:F2} t={t:F2} snapshotbuffer={buffer.Count}");
// interpolate snapshot // interpolate snapshot
Snapshot interpolated = InterpolateSnapshot(first, second, t); Snapshot interpolated = InterpolateSnapshot(first, second, t);