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

Function MoveTowards

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

* Move Vector towards target */

Source from the content-addressed store, hash-verified

248 * Move Vector towards target
249 */
250 RLCPP_NODISCARD Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
251 return Vector2MoveTowards(*this, target, maxDistance);
252 }
253
254 /**
255 * Invert the given vector

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected