Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
GetDistance is a math code snippet to calculate the distance between two coordinats from their horizontal and vertical distances, using Pythagoras.
#include <cmath> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.