MatrixTests CreateScaleFromThreeScalar 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 CreateScaleFromThreeScalar()
Examples

[Test]
public void CreateScaleFromThreeScalar()
{
    matrix = Matrix.CreateScale(3, 4, 7);
    var expected = new Matrix(3, 0, 0, 0, 0, 4, 0, 0, 0, 0, 7, 0, 0, 0, 0, 1);
    Assert.AreEqual(expected, matrix);
}
See Also