Skip to content

Commit

Permalink
Make interpolation functions impure.
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaTheFoxgirl committed Sep 11, 2024
1 parent 64c502f commit 2c01e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inmath/interpolate.d
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c01e45

Please sign in to comment.