Click or drag to resize
DigitalRuneAnimationHelperComputeAngularVelocity Method (Matrix33F, Matrix33F, Single)
Computes the angular velocity that rotates an object from the current orientation to a target orientation.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static Vector3F ComputeAngularVelocity(
	Matrix33F currentOrientation,
	Matrix33F targetOrientation,
	float deltaTime
)

Parameters

currentOrientation
Type: DigitalRune.Mathematics.AlgebraMatrix33F
The current orientation.
targetOrientation
Type: DigitalRune.Mathematics.AlgebraMatrix33F
The target orientation.
deltaTime
Type: SystemSingle
The time over which the rotation takes place (in seconds).

Return Value

Type: Vector3F
The angular velocity vector. If an object is rotated with this velocity starting at currentOrientation, it will arrive at targetOrientation after deltaTime seconds.
See Also