Example #1
0
    /// <summary>
    /// Returns the vertices of the line used for the full res visualization
    /// </summary>
    /// <returns></returns>
    private Vector3[] fullResLineVerts()
    {
        int reducedDepthGridShape = Mathf.CeilToInt(Mathf.Sqrt(reducedDepth));

        LineShape line = new LineShape(CenterPosition(), fullDepth, filterSpread * (reducedDepthGridShape / (float)reducedDepth));

        return(line.GetVertices(false));
    }