f32/d3/vec3.go
func (v Vec3) Sub(v1 Vec3) Vec3 {
	return NewVec3XYZ(
		v[0]-v1[0],
		v[1]-v1[1],
		v[2]-v1[2],
	)
}
func (v Vec3) Sub(v1 Vec3) Vec3 {
	return NewVec3XYZ(
		v[0]-v1[0],
		v[1]-v1[1],
		v[2]-v1[2],
	)
}
func ( v Vec3 ) Sub ( v1 Vec3 ) Vec3 { return NewVec3XYZ ( v [ 0 ] - v1 [ 0 ] , v [ 1 ] - v1 [ 1 ] , v [ 2 ] - v1 [ 2 ] , ) }
// 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 .