Exemplo n.º 1
0
            private int CountValid(IIndexable <Vector3?> positions)
            {
                //return positions.Query().Where(v => v.HasValue).Count();
                int count = 0;

                foreach (var pos in positions.GetEnumerator())
                {
                    if (pos.HasValue)
                    {
                        count++;
                    }
                }
                return(count);
            }