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

Function Clamp

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

* Clamp the components of the vector between */

Source from the content-addressed store, hash-verified

260 * Clamp the components of the vector between
261 */
262 RLCPP_NODISCARD Vector2 Clamp(::Vector2 min, ::Vector2 max) const { return ::Vector2Clamp(*this, min, max); }
263
264 /**
265 * // Clamp the magnitude of the vector between two min and max values

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected