From 2c01e45dff04775c7089854934f630707f530973 Mon Sep 17 00:00:00 2001 From: LunaTheFoxgirl Date: Wed, 11 Sep 2024 22:47:02 +0200 Subject: [PATCH] Make interpolation functions impure. --- inmath/interpolate.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inmath/interpolate.d b/inmath/interpolate.d index 54c4399..f088ef6 100644 --- a/inmath/interpolate.d +++ b/inmath/interpolate.d @@ -13,7 +13,7 @@ private { import std.conv : to; } -@safe pure nothrow @nogc: +@safe nothrow @nogc: /// Linearly interpolates between `a` and `b`, using scalar `t` from 0..1 T lerp(T)(T a, T b, float t) {