Negate this vector.
()
| 60 | |
| 61 | /// Negate this vector. |
| 62 | func (v B2Vec2) OperatorNegate() B2Vec2 { |
| 63 | return MakeB2Vec2( |
| 64 | -v.X, |
| 65 | -v.Y, |
| 66 | ) |
| 67 | } |
| 68 | |
| 69 | /// Read from and indexed element. |
| 70 | func (v B2Vec2) OperatorIndexGet(i int) float64 { |
no test coverage detected