Table of Contents

Method b3LerpPosition

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3LerpPosition(Vector3, Vector3, float)

Interpolates between two world positions.

public static Vector3 b3LerpPosition(Vector3 a, Vector3 b, float t)

Parameters

a Vector3

The position at t zero.

b Vector3

The position at t one.

t float

The interpolation parameter.

Returns

Vector3

The interpolated position.