Skip to main content

draw_sky

Function draw_sky 

Source
fn draw_sky(
    p: &PlaneCtx<'_>,
    pic: i32,
    scene: &Scene<'_>,
    cam: &Camera,
    view: &View,
    sky_scale: f64,
    dx: f64,
    dy: f64,
    _x: usize,
    r0: usize,
    r1: usize,
    a: f64,
    b: f64,
    lut: &[u32],
    pix: &mut [u32],
    depth: &mut [f32],
)