diff options
Diffstat (limited to 'evc/src/refsampler.rs')
-rw-r--r-- | evc/src/refsampler.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/evc/src/refsampler.rs b/evc/src/refsampler.rs index db0ab6f..b27ceae 100644 --- a/evc/src/refsampler.rs +++ b/evc/src/refsampler.rs @@ -13,6 +13,7 @@ pub struct Sampler<'a> { } impl Sampler<'_> { + #[inline] pub fn sample(&self, p: Vec2<f32>) -> Pixel { self.frame .sample(self.translation + self.transform.transform(p)) |