MCPcopy Create free account
hub / github.com/beefytech/Beef / GetDistance

Method GetDistance

BeefySysLib/util/Vector.h:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 static Vector3 CrossProduct(const Vector3& vec1, const Vector3& vec2);
47
48 static float GetDistance(const Vector3& v0, const Vector3& v1)
49 {
50 return (v0 - v1).GetMagnitude();
51 }
52
53 static float GetDistanceSquare(const Vector3& v0, const Vector3& v1)
54 {

Callers

nothing calls this directly

Calls 1

GetMagnitudeMethod · 0.80

Tested by

no test coverage detected