warp.sample_unit_disk#

warp.sample_unit_disk(state: uint32) vec2f#
  • Kernel

  • Python

Uniformly sample a disk in the xy plane.