Tag Archives: euclidean space

Distance between 2D and 3D vectors in C++

This example extends the Vector2 and Vector3 classes from theA�2D and 3D vector normalization and angle calculation in C++ example. The formulas for distance calculation in 2D and 3D are listed below.

Posted in C++ | Also tagged , , , , , , , | Leave a comment