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

Method set

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

Source from the content-addressed store, hash-verified

55 RLCPP_NODISCARD Vector2 GetWorldToScreen(::Vector2 position) const { return ::GetWorldToScreen2D(position, *this); }
56protected:
57 void set(const ::Camera2D& camera) {
58 offset = camera.offset;
59 target = camera.target;
60 rotation = camera.rotation;
61 zoom = camera.zoom;
62 }
63};
64} // namespace raylib
65

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected