GeometryTests ShowTriangle Method Delta Engine Documentation

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

public void ShowTriangle()
Examples

[Test, ApproveFirstFrameScreenshot]
public void ShowTriangle()
{
    CreateTriangle(new Vertex[]
    {
        new VertexPosition3DColor(new Vector3D(-3.0f, 0.0f, 0.0f), Color.Red),
        new VertexPosition3DColor(new Vector3D(3.0f, 0.0f, 0.0f), Color.Yellow),
        new VertexPosition3DColor(new Vector3D(1.5f, 3.0f, 0.0f), Color.Teal)
    });
}
See Also