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

Function Lerp

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

* Calculate linear interpolation between two vectors */

Source from the content-addressed store, hash-verified

233 * Calculate linear interpolation between two vectors
234 */
235 RLCPP_NODISCARD Vector2 Lerp(const ::Vector2& vector2, float amount) const { return Vector2Lerp(*this, vector2, amount); }
236
237 /**
238 * Calculate reflected vector to normal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected