star-sp

Random number generators and distributions
git clone git://git.meso-star.fr/star-sp.git
Log | Files | Refs | README | LICENSE

commit aa44801ebcddb1c4ba06bcec183bfd251f557aad
parent f1e4a7ab2210ad64f2d91f3b6c5a62f5905c1549
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 12 Jul 2021 09:31:29 +0200

Fix minor typos in comments

Diffstat:
Msrc/ssp.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ssp.h b/src/ssp.h @@ -1048,7 +1048,7 @@ ssp_ran_uniform_disk_float } /******************************************************************************* - * Uniform distribution of a point ont a sphere cap + * Uniform distribution of a point onto a sphere cap * pdf = 1/(2*PI*(1-cos(aperture)) ******************************************************************************/ /* Uniform sampling of unit sphere cap centered in zero whose up direction @@ -1116,7 +1116,7 @@ ssp_ran_sphere_cap_uniform_float } /******************************************************************************* - * Uniform distribution of a point ont a truncated sphere cap + * Uniform distribution of a point onto a truncated sphere cap * pdf = 1/(2*PI*(cos(aperture_max)-cos(aperture_min)) ******************************************************************************/ /* Uniform sampling of unit sphere cap centered in zero whose up direction