MCPcopy Create free account
hub / github.com/Wassimulator/CactusViewer / UI_Intersection_Rect

Class UI_Intersection_Rect

include/ui/ui_core.cpp:967–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965}
966
967struct UI_Intersection_Rect {
968 v2 p[2];
969
970
971 UI_Intersection_Rect() {
972 p[0] = v2(0);
973 p[1] = v2(0);
974 }
975 UI_Intersection_Rect(v2 p_0, v2 p_1) {
976 p[0] = p_0;
977 p[1] = p_1;
978 }
979};
980inline static bool operator==(UI_Intersection_Rect A, UI_Intersection_Rect B) {
981 return A.p[0].x == B.p[0].x && A.p[1].x == B.p[1].x &&
982 A.p[0].y == B.p[0].y && A.p[1].y == B.p[1].y;

Callers 1

UI_set_clip_rectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected