VertexNavigation.getMovesTriangle C# (CSharp) Method

getMovesTriangle() public method

Gets the moves from a triangle index.
public getMovesTriangle ( int triangleIndex, int &output ) : void
triangleIndex int Triangle index.
output int
return void
    public void getMovesTriangle(int triangleIndex, ref int[] output)
    {
        // return arraylist
        output[0] = this.triangles[triangleIndex];
        output[1] = this.triangles[triangleIndex + 1];
        output[2] = this.triangles[triangleIndex + 2];
    }