just a naming thing

This commit is contained in:
profan 2026-06-05 19:59:21 +01:00
parent 0129200964
commit da83b1857e
1 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ internal enum InterpreterOptions
internal static class Interpreter
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static T GetElement<T>(Span<float> values)
public static T GetValues<T>(Span<float> values)
{
if (typeof(T) == typeof(float))
{
@ -469,7 +469,7 @@ internal static class Interpreter
(xs[idx], ys[idx]) = (vx, vy);
}
T results = Evaluate(instructions, GetElement<T>(xs), GetElement<T>(ys));
T results = Evaluate(instructions, GetValues<T>(xs), GetValues<T>(ys));
for (int idx = 0; idx < chunkSize; ++idx)
{
int currentIdx = chunkIdx * chunkSize + idx;