aboutsummaryrefslogtreecommitdiff
path: root/examples/generate-cone-vector.c
diff options
context:
space:
mode:
authorArun Isaac2021-03-16 13:23:13 +0530
committerArun Isaac2021-03-16 13:23:13 +0530
commitb6cb0b189243bac7718cb4ddc65630a971ddfbeb (patch)
treeaa1909f72aeb71f38735de1b443fd0d61dbf745b /examples/generate-cone-vector.c
parentd3c68431fb8a1eb444d5635faa13fd4ffb0073f1 (diff)
downloadnsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.tar.gz
nsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.tar.lz
nsmc-b6cb0b189243bac7718cb4ddc65630a971ddfbeb.zip
Implement simplified cone sampling algorithm.
* src/nd-random.sc (hollow-cone-random-vector): Implement simplified algorithm that directly samples the surface of the sphere instead of sampling a disk and projecting it onto the surface.
Diffstat (limited to 'examples/generate-cone-vector.c')
0 files changed, 0 insertions, 0 deletions