Method b3Lerp
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Lerp(Vector3, Vector3, float)
Linearly interpolates between two vectors.
public static Vector3 b3Lerp(Vector3 a, Vector3 b, float alpha)Parameters
aVector3-
The vector at
alphazero. bVector3-
The vector at
alphaone. alphafloat-
The interpolation parameter, from zero to one.
Returns
- Vector3
-
The interpolated vector.