mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
obsolete
This commit is contained in:
parent
cee9a37544
commit
e94eefb049
@ -8,6 +8,7 @@
|
||||
// fholm: netcode streams
|
||||
// fakebyte: standard deviation for dynamic adjustment
|
||||
// ninjakicka: math & debugging
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
@ -88,6 +89,7 @@ public static double TimescaleV2(
|
||||
// note that negative threshold should be <0.
|
||||
// caller should verify (i.e. Unity OnValidate).
|
||||
// improves branch prediction.
|
||||
[Obsolete("use TimescaleV2 instead")]
|
||||
public static double Timescale(
|
||||
double drift, // how far we are off from bufferTime
|
||||
double catchupSpeed, // in % [0,1]
|
||||
|
Loading…
Reference in New Issue
Block a user