def readVertexColor(file): r = bin_ops.readByte(file) g = bin_ops.readByte(file) b = bin_ops.readByte(file) a = bin_ops.readByte(file) vertexColor = [r, g, b, a] return vertexColor
def readVertexColor(file): r = bin_ops.readByte(file) g = bin_ops.readByte(file) b = bin_ops.readByte(file) a = bin_ops.readByte(file) vertexColor = [r, g, b, a] return vertexColor
def readFilesString(file): lengthByte2 = 0 lengthByte1 = bin_ops.readByte(file) if (lengthByte1 >= xps_const.LIMIT): lengthByte2 = bin_ops.readByte(file) length = (lengthByte1 % xps_const.LIMIT) + (lengthByte2 * xps_const.LIMIT) string = bin_ops.readString(file, length) return string
def readFilesString(file): lengthByte2 = 0 lengthByte1 = bin_ops.readByte(file) if (lengthByte1 >= xps_const.LIMIT): lengthByte2 = bin_ops.readByte(file) length = (lengthByte1 % xps_const.LIMIT) + (lengthByte2 * xps_const.LIMIT) string = bin_ops.readString(file, length) return string