mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Do not restrict this fix to clang, it
This commit is contained in:
parent
2c04b27e36
commit
873c9828ce
1 changed files with 0 additions and 2 deletions
|
@ -300,14 +300,12 @@ static float fade(float t)
|
|||
return t * t * t * (t * (t * 6 - 15) + 10);
|
||||
}
|
||||
|
||||
#ifdef __clang__
|
||||
#if __cplusplus <= 201703L
|
||||
static float lerp(float t, float a, float b)
|
||||
{
|
||||
return a + t * (b - a);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static float grad(unsigned char hash, float x, float y, float z)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue