Function libredr::light_source::py_directional_envmap

source ยท
pub fn py_directional_envmap<'py>(
    py: Python<'py>,
    resolution: usize,
    direction: PyReadonlyArray1<'_, f32>,
    intensity: f32,
) -> Result<Bound<'py, PyArray4<f32>>>
Expand description

Directional light source models (Rust and Python) Python version directional_envmap