Point::SetLerp
Previous
|
Next
Point::SetLerp
Point
inline
Point
<T>&
SetLerp
(
const
Point
<T>&
a
,
const
Point
<T>&
b
, T
t
);
Description
Set to a + (b - a) * t
Parameters
Parameters
Description
const Point<T>& a
The
x
coordinate of the point.
const Point<T>& b
The
y
coordinate of the point.
T t
Amount to interpolate between the values of the two points.
Return Value