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