Skip to main content

sample_wall

Function sample_wall 

Source
fn sample_wall(
    scene: &Scene<'_>,
    si: usize,
    wall: &Wall,
    picnum: i16,
    xpan: u8,
    ypan: u8,
    s: f64,
    z: f64,
    zref: f64,
    t: f64,
) -> u32
Expand description

Texture colour of a wall at position s (0..1 along it) and height z.