Linear interpolation (blending) between two 3d-vectors

Namespace: VVVV.Utils.VMath
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static Vector3D Lerp(
	Vector3D a,
	Vector3D b,
	double x
)

Parameters

a
Type: VVVV.Utils.VMath..::..Vector3D

[Missing <param name="a"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(VVVV.Utils.VMath.Vector3D,VVVV.Utils.VMath.Vector3D,System.Double)"]

b
Type: VVVV.Utils.VMath..::..Vector3D

[Missing <param name="b"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(VVVV.Utils.VMath.Vector3D,VVVV.Utils.VMath.Vector3D,System.Double)"]

x
Type: System..::..Double

[Missing <param name="x"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(VVVV.Utils.VMath.Vector3D,VVVV.Utils.VMath.Vector3D,System.Double)"]

Return Value

Linear interpolation between a and b if x in the range ]0..1[, or a if x = 0, or b if x = 1

See Also