Exemplo n.º 1
0
        /// <summary>Sets a custom distance spread function for inner and outer spreads.</summary>
        public static void SetFunctions(OnGetDistance inner, OnGetDistance outer, bool hd)
        {
            GetInner = inner;
            Custom   = (inner != null || outer != null);

            TextureCameras.SD = !hd;

            InnerOuterDiff = (inner != outer);
        }
Exemplo n.º 2
0
 /// <summary>Sets a custom distance spread function for both inner and outer spreads.</summary>
 public static void SetFunction(OnGetDistance method)
 {
     SetFunctions(method, method, (method != null));
 }
Exemplo n.º 3
0
 private static extern void GetDistanceWrapper(double lastCheckedUnix, OnGetDistance onGetDistance);