Skip to main content

draw_plane

Function draw_plane 

Source
fn draw_plane(
    p: &PlaneCtx<'_>,
    scene: &Scene<'_>,
    cam: &Camera,
    view: &View,
    sky_scale: f64,
    dx: f64,
    dy: f64,
    x: usize,
    y0: f64,
    y1: f64,
    vis: f64,
    pix: &mut [u32],
    depth: &mut [f32],
)