MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / bottom

Method bottom

utilities/olcUTIL_Geometry2D.h:670–673  ·  view source on GitHub ↗

Get line segment from bottom side of rectangle

Source from the content-addressed store, hash-verified

668
669 // Get line segment from bottom side of rectangle
670 inline line<T> bottom() const
671 {
672 return { {pos.x, pos.y + size.y}, pos + size };
673 }
674
675 // Get line segment from left side of rectangle
676 inline line<T> left() const

Callers 3

closestFunction · 0.80
overlapsFunction · 0.80
projectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected