MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Distance

Function Distance

include/Vector2.hpp:292–292  ·  view source on GitHub ↗

* Calculate distance between two vectors */

Source from the content-addressed store, hash-verified

290 * Calculate distance between two vectors
291 */
292 RLCPP_NODISCARD float Distance(const ::Vector2& vector2) const { return Vector2Distance(*this, vector2); }
293
294 /**
295 * Calculate square distance between two vectors

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected