just a naming thing
This commit is contained in:
parent
0129200964
commit
da83b1857e
|
|
@ -425,7 +425,7 @@ internal enum InterpreterOptions
|
||||||
internal static class Interpreter
|
internal static class Interpreter
|
||||||
{
|
{
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static T GetElement<T>(Span<float> values)
|
public static T GetValues<T>(Span<float> values)
|
||||||
{
|
{
|
||||||
if (typeof(T) == typeof(float))
|
if (typeof(T) == typeof(float))
|
||||||
{
|
{
|
||||||
|
|
@ -469,7 +469,7 @@ internal static class Interpreter
|
||||||
(xs[idx], ys[idx]) = (vx, vy);
|
(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)
|
for (int idx = 0; idx < chunkSize; ++idx)
|
||||||
{
|
{
|
||||||
int currentIdx = chunkIdx * chunkSize + idx;
|
int currentIdx = chunkIdx * chunkSize + idx;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue