Photon Engine 2.0.0-beta
A physically based renderer.
|
Namespaces | |
namespace | detail |
Variables | |
constexpr std::array< uint32, 2048 > | PRIME |
First 2048 primes. | |
constexpr std::array< uint32, 512 > | GOOD_PRIME |
First 512 good primes. Primes such that its square is greater than the product of any two primes at the same number of positions/offsets before and after it in the sequence of primes, i.e., for the n-th prime \( p_n \) to be good, it must satisfy the inequality \( p_n^2 > p_{n-i} p_{n+i} \). | |
|
inlineconstexpr |
First 512 good primes. Primes such that its square is greater than the product of any two primes at the same number of positions/offsets before and after it in the sequence of primes, i.e., for the n-th prime \( p_n \) to be good, it must satisfy the inequality \( p_n^2 > p_{n-i} p_{n+i} \).
|
inlineconstexpr |
First 2048 primes.