Esempio n. 1
0
 //================================ Calc by ratio
 //see interface for comments
 public Vector3 CalcByDistanceRatio(BGCurveBaseMath.Field field, float ratio, bool useLocal = false)
 {
     return(Math.CalcByDistanceRatio(field, ratio, useLocal));
 }
Esempio n. 2
0
 //================================ Calc by distance
 //see interface for comments
 public Vector3 CalcByDistance(BGCurveBaseMath.Field field, float distance, bool useLocal = false)
 {
     return(Math.CalcByDistance(field, distance, useLocal));
 }
Esempio n. 3
0
        //================================ Misc
        /// <summary>Is given field is calculated?</summary>
        public bool IsCalculated(BGCurveBaseMath.Field field)
        {
            var math = Math;

            return(math != null && math.IsCalculated(field));
        }