Set sets the coordinates of p to x and y
(x, y float32)
| 73 | |
| 74 | // Set sets the coordinates of p to x and y |
| 75 | func (p *Point) Set(x, y float32) *Point { |
| 76 | p.X = x |
| 77 | p.Y = y |
| 78 | return p |
| 79 | } |
| 80 | |
| 81 | // AddScalar adds s to each component of p |
| 82 | func (p *Point) AddScalar(s float32) *Point { |
no outgoing calls