aboutsummaryrefslogtreecommitdiff
path: root/evc/src/refsampler.rs
blob: 95e123bc2a55f0ef40d3734d3b16c6d0c617084e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{helpers::{matrix::Mat2, vector::Vec2}, frame::Frame};

pub struct Sampler {
    translation: Vec2<f32>,
    transform: Mat2<f32>,

    value_scale: f32,
}

impl Sampler {
    pub fn sample(&self, frame: &Frame, p: Vec2<f32>) {
        
    }
}