f32/d2/vec2.go
func (v Vec2) Sub(v1 Vec2) Vec2 {
	return NewVec2XY(
		v[0]-v1[0],
		v[1]-v1[1],
	)
}
func (v Vec2) Sub(v1 Vec2) Vec2 {
	return NewVec2XY(
		v[0]-v1[0],
		v[1]-v1[1],
	)
}
func ( v Vec2 ) Sub ( v1 Vec2 ) Vec2 { return NewVec2XY ( v [ 0 ] - v1 [ 0 ] , v [ 1 ] - v1 [ 1 ] , ) }
// Sub returns a new vector that is the result of v - v1.
//
// It allocates a new vector/slice.
Sub returns a new vector that is the result of v - v1 . It allocates a new vector / slice .