render_vec Subroutine

private subroutine render_vec(cnt, state)

Render the SDF Wrapper around the render function to allow ease of use

Arguments

Type IntentOptional Attributes Name
type(sdf), intent(in) :: cnt(:)
type(settings_t), intent(in) :: state

Source Code

    subroutine render_vec(cnt, state)
        !! Render the SDF
        !! Wrapper around the render function to allow ease of use
        use sim_state_mod, only : settings_t

        type(settings_t), intent(IN) :: state
        type(sdf),  intent(IN) :: cnt(:)
        
        type(vector):: extent

        extent = vector(state%grid%xmax, state%grid%ymax, state%grid%zmax)
    
        call render_sub(cnt, extent, state%render_size, state)

    end subroutine render_vec