Ejemplo n.º 1
0
    /// <summary>
    /// Initializes the VerticeData array.
    /// </summary>
    private VertexData[] SetVerticeData()
    {
        Vector3[]    vertices = meshContainer.GetVertices();
        VertexData[] data     = new VertexData[vertices.Length];

        for (int i = 0; i < vertices.Length; i++)
        {
            data[i] = new VertexData(vertices[i], 0f);
        }

        return(data);
    }
Ejemplo n.º 2
0
    public void GetVerticesReturnsNotNull_Test(string mockName)
    {
        SetUp(mockName);

        Assert.IsNotNull(container.GetVertices());
    }