Spherical interpolation between two points (3d-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 Vector3D Slerp(
	Vector3D a,
	Vector3D b,
	double x
)

Parameters

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

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