def translation_matrix(direction):
    M = numpy.identity(4)
    M[:3, 3] = direction[:3]
    return M
Get the last tick made by the clock.
dataset/ETHPy150Open omangin/multimodal/multimodal/lib/transformations.py/translation_matrix--crossover with--dataset/ETHPy150Open kivy/kivy/kivy/clock.py/ClockBase.get_time