Table of Contents

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

a Vector3

The vector at alpha zero.

b Vector3

The vector at alpha one.

alpha float

The interpolation parameter, from zero to one.

Returns

Vector3

The interpolated vector.