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

Method set

include/Rectangle.hpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 Rectangle& SetPosition(const ::Vector2& position) { return SetPosition(position.x, position.y); }
150protected:
151 void set(const ::Rectangle& rect) {
152 x = rect.x;
153 y = rect.y;
154 width = rect.width;
155 height = rect.height;
156 }
157};
158} // namespace raylib
159

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected