Linear interpolation (blending) between two 4d-vectors

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

Syntax

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

Parameters

a
Type: VVVV.Utils.VMath..::..Vector4D

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

b
Type: VVVV.Utils.VMath..::..Vector4D

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

x
Type: System..::..Double

[Missing <param name="x"/> documentation for "M:VVVV.Utils.VMath.VMath.Lerp(VVVV.Utils.VMath.Vector4D,VVVV.Utils.VMath.Vector4D,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