typo
parent
dbfca082b3
commit
42ce9799f6
|
@ -662,8 +662,8 @@ Vector squareToCone(Float cosCutoff, const Point2 &sample) {
|
|||
}
|
||||
|
||||
Point2 squareToStdNormal(const Point2 &sample) {
|
||||
Float tmp1 = std::sqrt(-2 * std::log(sample.x())),
|
||||
tmp2 = 2 * M_PI * sample.y();
|
||||
Float tmp1 = std::sqrt(-2 * std::log(sample.x)),
|
||||
tmp2 = 2 * M_PI * sample.y;
|
||||
return Point2(
|
||||
tmp1 * std::cos(tmp2),
|
||||
tmp1 * std::sin(tmp2)
|
||||
|
|
Loading…
Reference in New Issue