SdlFRectPointerEx extension

on

Methods

create() Rectangle<double>

Available on Pointer<SdlFRect>, provided by the SdlFRectPointerEx extension

getIntersection(Pointer<SdlFRect> b, Pointer<SdlFRect> result) bool

Available on Pointer<SdlFRect>, provided by the SdlFRectPointerEx extension

Calculate the intersection of two rectangles with float precision.
getLineIntersection(Pointer<Float> x1, Pointer<Float> y1, Pointer<Float> x2, Pointer<Float> y2) bool

Available on Pointer<SdlFRect>, provided by the SdlFRectPointerEx extension

Calculate the intersection of a rectangle and line segment with float precision.
getUnion(Pointer<SdlFRect> b, Pointer<SdlFRect> result) bool

Available on Pointer<SdlFRect>, provided by the SdlFRectPointerEx extension

Calculate the union of two rectangles with float precision.
hasIntersection(Pointer<SdlFRect> b) bool

Available on Pointer<SdlFRect>, provided by the SdlFRectPointerEx extension

Determine whether two rectangles intersect with float precision.