Mul multiplies x and y by f.
(f float64)
| 268 | |
| 269 | // Mul multiplies x and y by f. |
| 270 | func (p Point) Mul(f float64) Point { |
| 271 | return Point{f * p.X, f * p.Y} |
| 272 | } |
| 273 | |
| 274 | // Div divides x and y by f. |
| 275 | func (p Point) Div(f float64) Point { |
no outgoing calls