UtilDistance(Vector2, Vector2) Method |
The distance between the two supplied points.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntaxpublic static double Distance(
Vector2 a,
Vector2 b
)
Parameters
- a Vector2
- The first point.
- b Vector2
- The second point.
Return Value
DoubleThe distance between the two points.
See Also