Skip to main content

concinnity_render/ltc/
size.rs

1/// Edge of the square lookup table. 64 matches the resolution the parameterisation
2/// was chosen for: finer buys little once `sqrt(1 - cos)` has spread the grazing
3/// angles out, and the fit cost grows with the square.
4///
5/// In its own file because `build.rs` `include!`s it alongside the fitter, while
6/// the lib compiles only this half.
7pub const LTC_LUT_SIZE: usize = 64;