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

Method GetScreenToWorldRay

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

* Get a ray trace from screen position (i.e mouse) in a viewport */

Source from the content-addressed store, hash-verified

104 * Get a ray trace from screen position (i.e mouse) in a viewport
105 */
106 Ray GetScreenToWorldRay(::Vector2 position, int width, int height) {
107 return ::GetScreenToWorldRayEx(position, *this, width, height);
108 }
109
110 /**
111 * Draw a billboard texture.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected