示例#1
0
        public void SetColor(Vector4b col, Vcolor mode)
        {
            switch (mode)
            {
            case Vcolor.Default: color = col; break;

            case Vcolor.Morph: color_morph = col; break;
            }
        }
示例#2
0
        public void SetColor(Vcolor mode, Vector4b col)
        {
            switch (mode)
            {
            case Vcolor.Default: color = col; break;

            case Vcolor.Morph: color_morph = col; break;
                //case Vcolor.Flag: Vertex.flagColor = col; break;
            }
        }