Skip to main content

Module sky

Module sky 

Source
Expand description

Sky-texture resource for the textured-sky path.

Holds the equirectangular sky panorama (pixels + xsiz/ysiz) the renderer samples on a ray miss (see crate::dda’s sample_sky). Built once when a host calls Engine::set_sky. The lng[] / lat[] / bpl / lng_mul fields are a carryover from voxlap’s per-ray longitude/latitude search tables; the DDA renderer instead samples directly via asin/atan2 and does not need them.

Structs§

Sky
Sky texture + precomputed angle-lookup tables.