Function re_renderer::transform::ndc_from_pixel

source ·
pub fn ndc_from_pixel(pixel_coord: Vec2, screen_extent: UVec2) -> Vec2
Expand description

Transforms texture coordinates to normalized device coordinates (NDC).