MCPcopy Create free account
hub / github.com/SolarLune/masterplan / NewCorrectingRect

Function NewCorrectingRect

utils.go:266–268  ·  view source on GitHub ↗
(x1, y1, x2, y2 float32)

Source from the content-addressed store, hash-verified

264}
265
266func NewCorrectingRect(x1, y1, x2, y2 float32) CorrectingRect {
267 return CorrectingRect{x1, y1, x2, y2}
268}
269
270func (cr CorrectingRect) AddXY(x, y float32) CorrectingRect {
271 if x < cr.X1 {

Callers 2

handleScreenshotsFunction · 0.85
UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected