func (v Vec2) Add(v1 Vec2) Vec2 {
	return NewVec2XY(
		v[0]+v1[0],
		v[1]+v1[1],
	)
}
func (v Vec2) Add(v1 Vec2) Vec2 {
	return NewVec2XY(
		v[0]+v1[0],
		v[1]+v1[1],
	)
}
func ( v Vec2 ) Add ( v1 Vec2 ) Vec2 { return NewVec2XY ( v [ 0 ] + v1 [ 0 ] , v [ 1 ] + v1 [ 1 ] , ) }
// Vec2 methods
// Add returns a new vector that is the result of v + v1.
//
// It allocates a new vector/slice.
Vec2 methods Add returns a new vector that is the result of v + v1 . It allocates a new vector / slice .