Set this vector to all zeros.
()
| 48 | |
| 49 | /// Set this vector to all zeros. |
| 50 | func (v *B2Vec2) SetZero() { |
| 51 | v.X = 0.0 |
| 52 | v.Y = 0.0 |
| 53 | } |
| 54 | |
| 55 | /// Set this vector to some specified coordinates. |
| 56 | func (v *B2Vec2) Set(x, y float64) { |
no outgoing calls
no test coverage detected