aboutsummaryrefslogtreecommitdiff
path: root/src/extent-sampling.sc
diff options
context:
space:
mode:
authorArun Isaac2021-03-15 14:52:03 +0530
committerArun Isaac2021-03-15 15:27:24 +0530
commitd771e8524094493f8a7c8b25b660b18acf837f92 (patch)
tree706db3a717ed1d3cf5a36d5a2591f5af730216d7 /src/extent-sampling.sc
parentd5ab1ba4a4373821bc27a35f2a5f7dcb9e955dd4 (diff)
downloadnsmc-d771e8524094493f8a7c8b25b660b18acf837f92.tar.gz
nsmc-d771e8524094493f8a7c8b25b660b18acf837f92.tar.lz
nsmc-d771e8524094493f8a7c8b25b660b18acf837f92.zip
Implement simplified cone sampling algorithm.
* contrib/cone-vector.py: Don't import tan. (random_vector_on_spherical_cap): 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 'src/extent-sampling.sc')
0 files changed, 0 insertions, 0 deletions