1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 01:18:46 +00:00

Internalise LerpInternal method

This commit is contained in:
Oliver Booth 2021-03-11 16:46:02 +00:00
parent 688058a7aa
commit 4a88358f47
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ namespace X10D.DoubleExtensions
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static double LerpInternal(double a, double b, double t)
internal static double LerpInternal(double a, double b, double t)
{
// rookie mistake: a + t * (b - a)
// "precise" method: (1 - t) * a + t * b

View File

@ -132,7 +132,7 @@ namespace X10D.SingleExtensions
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private static float LerpInternal(float a, float b, float t)
internal static float LerpInternal(float a, float b, float t)
{
// rookie mistake: a + t * (b - a)
// "precise" method: (1 - t) * a + t * b