From 4a88358f47553e0f2e1f75422421ffe3cf7a33ed Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 11 Mar 2021 16:46:02 +0000 Subject: [PATCH] Internalise LerpInternal method --- X10D/src/DoubleExtensions/DoubleExtensions.cs | 2 +- X10D/src/SingleExtensions/SingleExtensions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/X10D/src/DoubleExtensions/DoubleExtensions.cs b/X10D/src/DoubleExtensions/DoubleExtensions.cs index c7f223d..d53537d 100644 --- a/X10D/src/DoubleExtensions/DoubleExtensions.cs +++ b/X10D/src/DoubleExtensions/DoubleExtensions.cs @@ -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 diff --git a/X10D/src/SingleExtensions/SingleExtensions.cs b/X10D/src/SingleExtensions/SingleExtensions.cs index 9529f2b..fe91ef0 100644 --- a/X10D/src/SingleExtensions/SingleExtensions.cs +++ b/X10D/src/SingleExtensions/SingleExtensions.cs @@ -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