示例#1
0
 public var_atributes(var_type var_type_name, var_data_type data_type, float scale, float offset)
 {
     this.var_type_name = var_type_name;
     this.data_type = data_type;
     this.scale = scale;
     this.offset = offset;
 }
示例#2
0
    public List <Cube> getCubes(string context, var_type type)
    {
        List <Cube> ret = null;

        switch (type)
        {
        case var_type.AXIS:
            ret = getCubesByAxis(context);
            break;

        case var_type.COLOR:
            ret = getCubesByColor(context);
            break;
        }

        return(ret);
    }