ToFixed returns the vector as a [fixed.Point26_6].
()
| 151 | |
| 152 | // ToFixed returns the vector as a [fixed.Point26_6]. |
| 153 | func (a Vector2) ToFixed() fixed.Point26_6 { |
| 154 | return ToFixedPoint(a.X, a.Y) |
| 155 | } |
| 156 | |
| 157 | // RectFromPosSizeMax returns an [image.Rectangle] from the floor of pos |
| 158 | // and ceil of size. |