diff options
author | Arun Isaac | 2021-03-15 14:52:03 +0530 |
---|---|---|
committer | Arun Isaac | 2021-03-15 15:27:24 +0530 |
commit | d771e8524094493f8a7c8b25b660b18acf837f92 (patch) | |
tree | 706db3a717ed1d3cf5a36d5a2591f5af730216d7 /include/utils.h | |
parent | d5ab1ba4a4373821bc27a35f2a5f7dcb9e955dd4 (diff) | |
download | nsmc-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 'include/utils.h')
0 files changed, 0 insertions, 0 deletions