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

Method GetWorldToScreen

include/Camera2D.hpp:55–55  ·  view source on GitHub ↗

* Returns the screen space position for a 2d world space position */

Source from the content-addressed store, hash-verified

53 * Returns the screen space position for a 2d world space position
54 */
55 RLCPP_NODISCARD Vector2 GetWorldToScreen(::Vector2 position) const { return ::GetWorldToScreen2D(position, *this); }
56protected:
57 void set(const ::Camera2D& camera) {
58 offset = camera.offset;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected