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

Function DistanceSqr

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

* Calculate square distance between two vectors */

Source from the content-addressed store, hash-verified

295 * Calculate square distance between two vectors
296 */
297 RLCPP_NODISCARD float DistanceSqr(::Vector2 v2) const { return ::Vector2DistanceSqr(*this, v2); }
298
299 /**
300 * Calculate angle from two vectors in X-axis

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected