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

Function GetRay

include/Mouse.hpp:138–140  ·  view source on GitHub ↗

* Get a ray trace from mouse position */

Source from the content-addressed store, hash-verified

136 * Get a ray trace from mouse position
137 */
138RLCPP_MAYBEUNUSED RLCPPAPI inline Ray GetRay(::Vector2 mousePosition, const ::Camera& camera) {
139 return ::GetMouseRay(mousePosition, camera);
140}
141
142/**
143 * Get a ray trace from mouse position

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected