render

Function render 

Source
pub fn render<Sphere: Sphere>(
    scene: &Scene<'_, Sphere>,
    camera: &Camera,
    target: &mut RgbImage,
)
Expand description

Renders a Scene from the perspective of a Camera to the given target image.