MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Intersects

Method Intersects

Source/Engine/Core/Math/Rectangle.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23bool Rectangle::Intersects(const Rectangle& value) const
24{
25 return value.Location.X <= GetRight() && Location.X <= value.GetRight() && value.Location.Y <= GetBottom() && Location.Y <= value.GetBottom();
26}
27
28void Rectangle::Offset(float x, float y)
29{

Callers

nothing calls this directly

Calls 3

GetRightMethod · 0.80
GetRightFunction · 0.70
GetBottomFunction · 0.70

Tested by

no test coverage detected