Commit e18667ab authored by Philip Trettner's avatar Philip Trettner

dont_deduce for mix t

parent 9e2b6e80
......@@ -10,7 +10,7 @@
namespace tg
{
template <class ScalarT>
[[nodiscard]] constexpr ScalarT mix(ScalarT v0, ScalarT v1, ScalarT t)
[[nodiscard]] constexpr ScalarT mix(ScalarT v0, ScalarT v1, tg::dont_deduce<ScalarT> t)
{
return v0 + t * (v1 - v0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment