pub fn new(space: &Space, options: GraphicsOptions) -> Self {
        SpaceRaytracer(
            SpaceRaytracerImplBuilder {
                blocks: prepare_blocks::<P>(space),
                cubes_builder: |blocks: &Box<[TracingBlock<P::BlockData>]>| {
                    prepare_cubes::<P>(blocks, space)
                },
                options,
                sky_color: space.physics().sky_color,
            }
            .build(),
        )
    }
/// Snapshots the given [`Space`] to prepare for raytracing it.
Snapshots the given [`Space`] to prepare for raytracing it.
Snapshots the given [ ` Space ` ] to prepare for raytracing it .
pub fn new(space: &Space, options: GraphicsOptions) -> Self {
        SpaceRaytracer(
            SpaceRaytracerImplBuilder {
                blocks: prepare_blocks::<P>(space),
                cubes_builder: |blocks: &Box<[TracingBlock<P::BlockData>]>| {
                    prepare_cubes::<P>(blocks, space)
                },
                options,
                sky_color: space.physics().sky_color,
            }
            .build(),
        )
    }
pub fn new ( space : & Space , options : GraphicsOptions ) -> Self { SpaceRaytracer ( SpaceRaytracerImplBuilder { blocks : prepare_blocks :: < P > ( space ) , cubes_builder : | blocks : & Box < [ TracingBlock < P :: BlockData > ] > | { prepare_cubes :: < P > ( blocks , space ) } , options , sky_color : space . physics ( ) . sky_color , } . build ( ) , ) }
Snapshots the given [`Space`] to prepare for raytracing it.
Snapshots the given [ ` Space ` ] to prepare for raytracing it .
space
&Space
options
GraphicsOptions