Mac Guides | Samples

MonoMac.OpenGL.Vector3d.Lerp Method

Returns a new Vector that is the linear blend of the 2 given Vectors

Syntax

public static Vector3d Lerp (Vector3d a, Vector3d b, Double blend)

Parameters

a
First input vector
b
Second input vector
blend
The blend factor. a when blend=0, b when blend=1.

Returns

a when blend=0, b when blend=1, and a linear combination otherwise

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0