forked from bartvdbraak/blender
Cycles: attempt to fix build issue with mingw.
This commit is contained in:
parent
5b1a42cb17
commit
9dcf4bf0a6
@ -766,7 +766,7 @@ __device_inline float __uint_as_float(uint i)
|
|||||||
|
|
||||||
/* Interpolation */
|
/* Interpolation */
|
||||||
|
|
||||||
template<class A, class B> __device_inline A lerp(const A& a, const A& b, const B& t)
|
template<class A, class B> A lerp(const A& a, const A& b, const B& t)
|
||||||
{
|
{
|
||||||
return (A)(a * ((B)1 - t) + b * t);
|
return (A)(a * ((B)1 - t) + b * t);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user