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

Method GetMouseRay

include/Camera3D.hpp:96–96  ·  view source on GitHub ↗

* Returns a ray trace from mouse position */

Source from the content-addressed store, hash-verified

94 * Returns a ray trace from mouse position
95 */
96 Ray GetMouseRay(::Vector2 mousePosition) const { return ::GetMouseRay(mousePosition, *this); }
97
98 /**
99 * Returns the screen space position for a 3d world space position

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected