Vector3DTests Multiplication 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 Multiplication()
Examples

[Test]
public void Multiplication()
{
    const float Factor = 1.5f;
    Assert.AreEqual(new Vector3D(1.5f, 3.0f, -4.5f), v1 * Factor);
    Assert.AreEqual(new Vector3D(1.5f, 3.0f, -4.5f), Factor * v1);
    Assert.AreEqual(new Vector3D(4, -10, -18), v1 * v2);
}
See Also