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

Function Reflect

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

* Calculate reflected vector to normal */

Source from the content-addressed store, hash-verified

238 * Calculate reflected vector to normal
239 */
240 RLCPP_NODISCARD Vector2 Reflect(const ::Vector2& normal) const { return Vector2Reflect(*this, normal); }
241
242 /**
243 * Rotate Vector by float in radians

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected