PlaneQuadTests WindingOfVerticesShouldBeCounterClockWise Method Delta Engine Documentation

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

public void WindingOfVerticesShouldBeCounterClockWise()
Examples

[Test, CloseAfterFirstFrame]
public void WindingOfVerticesShouldBeCounterClockWise()
{
    if (!StackTraceExtensions.IsStartedFromNCrunch())
        return; //ncrunch: no coverage
    MockGeometry geometry = CreateMockGeometry();
    var indices = new short[] { 0, 1, 2 };
    geometry.SetData(CreateVertexData(), indices);
    AssertVertices(geometry, indices);
    AssertGeometryIsCounterClockWise(geometry);
}
See Also