Пример #1
0
        public double DistanceTo(Climb climb)
        {
            double a = climb.X1 - X;
            double b = climb.Y1 - Y;
            double c = climb.Z1 - Z;

            return Math.Sqrt(a*a + b*b + c*c);
        }
Пример #2
0
        public double DistanceTo(Climb climb)
        {
            double a = climb.X1 - X;
            double b = climb.Y1 - Y;
            double c = climb.Z1 - Z;

            return(Math.Sqrt(a * a + b * b + c * c));
        }
Пример #3
0
 public SpClimb(Player player, Climb climb)
 {
     Player = player;
     Climb = climb;
 }