MatrixTests FromQuaternion Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Datatypes
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void FromQuaternion()
Examples

[Test]
public void FromQuaternion()
{
    var quaternion = Quaternion.FromAxisAngle(Vector3D.UnitY, 60.0f);
    matrix = Matrix.CreateRotationY(60.0f);
    Assert.AreEqual(matrix, Matrix.FromQuaternion(quaternion));
}
See Also