Example #1
0
        public PolyPoint(VertexBuffer aVertexBuffer)
            :base(aVertexBuffer, null)
        {
            fGeometryType = GeometryType.Points;

            int quantity = aVertexBuffer.Count;
            fActiveQuantity = quantity;

            IndexBuffer newIndices = new IndexBuffer(quantity);
            newIndices.SetDefaultIndices();

            Indices = newIndices;
        }