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); }
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)); }
public SpClimb(Player player, Climb climb) { Player = player; Climb = climb; }