ToPointCeil returns the vector as an [image.Point] with all values [Ceil]ed.
()
| 141 | |
| 142 | // ToPointCeil returns the vector as an [image.Point] with all values [Ceil]ed. |
| 143 | func (a Vector2) ToPointCeil() image.Point { |
| 144 | return image.Point{int(Ceil(a.X)), int(Ceil(a.Y))} |
| 145 | } |
| 146 | |
| 147 | // ToPointRound returns the vector as an [image.Point] with all values [Round]ed. |
| 148 | func (a Vector2) ToPointRound() image.Point { |