f32/d2/vec2.go
func (v Vec2) Lerp(dest, v1 Vec2, t float32) Vec2 {
	return Vec2{
		v[0] + (v1[0]-v[0])*t,
		v[1] + (v1[1]-v[1])*t,
	}
}
func (v Vec2) Lerp(dest, v1 Vec2, t float32) Vec2 {
	return Vec2{
		v[0] + (v1[0]-v[0])*t,
		v[1] + (v1[1]-v[1])*t,
	}
}
func ( v Vec2 ) Lerp ( dest , v1 Vec2 , t float32 ) Vec2 { return Vec2 { v [ 0 ] + ( v1 [ 0 ] - v [ 0 ] ) * t , v [ 1 ] + ( v1 [ 1 ] - v [ 1 ] ) * t , } }
// Lerp returns the result vector of a linear interpolation between two
// vectors. v toward v1.
//
// The interpolation factor t should be comprised betwenn 0 and 1.0.
// [Limits: 0 <= value <= 1.0]
Lerp returns the result vector of a linear interpolation between two vectors . v toward v1 . The interpolation factor t should be comprised betwenn 0 and 1 . 0 . [ Limits : 0 < = value < = 1 . 0 ]