예제 #1
0
        private int GetPrimitiveSize(IAPrimitive primitiveType)
        {
            switch (primitiveType)
            {
            case  IAPrimitive.LineList:
            case IAPrimitive.LineStrip:
                return(2);

            case IAPrimitive.PointList:
                return(1);

            default:
                return(3);
            }
        }
예제 #2
0
 protected abstract void IASetPrimitiveType(IAPrimitive value);
 protected override void IASetPrimitiveType(IAPrimitive value)
 {
     throw new NotImplementedException();
 }