def _read_offset(self, bvh, token_index):
    if (bvh[token_index] != ('IDENT', 'OFFSET')):
        return (None, None)
    token_index = (token_index + 1)
    offsets = ([0.0] * 3)
    for i in range(3):
        offsets[i] = float(bvh[token_index][1])
        token_index = (token_index + 1)
    return (offsets, token_index)
def _read_offset(self, bvh, token_index):
    if (bvh[token_index] != ('IDENT', 'OFFSET')):
        return (None, None)
    token_index = (token_index + 1)
    offsets = ([0.0] * 3)
    for i in range(3):
        offsets[i] = float(bvh[token_index][1])
        token_index = (token_index + 1)
    return (offsets, token_index)