def transform_mesh_in_place(mesh, trans, scale):
    """
    Transforms mesh
    Note that it will perform translation first, followed by scaling
    Also note that the transformation happens in-place
    """
    mesh['v'][:, 0] += trans[0]
    mesh['v'][:, 1] += trans[1]
    mesh['v'][:, 2] += trans[2]

    mesh['v'] *= scale
    return mesh