warp.sample\_unit\_disk ======================= .. function:: warp._src.lang.sample_unit_disk(state: uint32) -> vec2f .. hlist:: :columns: 8 * Kernel * Python Uniformly sample a point inside the unit disk (radius <= 1) in the xy-plane. Returns a ``vec2``. In a kernel, advances ``state`` in place; called from the Python scope, it does not modify ``state``, so repeated calls with the same ``state`` return the same point (see :func:`rand_init`).