Spherical interpolation between two quaternions (4d-vectors) The effect is a rotation with uniform angular velocity around a fixed rotation axis from one state of rotation to another

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

Syntax

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

Parameters

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

[Missing <param name="a"/> documentation for "M:VVVV.Utils.VMath.VMath.Slerp(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.Slerp(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.Slerp(VVVV.Utils.VMath.Vector4D,VVVV.Utils.VMath.Vector4D,System.Double)"]

Return Value

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

See Also