Add Vector3<TLane, TNumber>
This commit is contained in:
@@ -128,7 +128,7 @@ namespace Misaki.HighPerformance.Mathematics.CodeGen.Generators
|
||||
get
|
||||
{{
|
||||
RangeCheck(index);
|
||||
return ref (({typeInfo.ComponentTypeFullName}*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref this))[index];
|
||||
return ref global::System.Runtime.CompilerServices.Unsafe.Add(ref {s_vectorComponents[0]}, index);
|
||||
}}
|
||||
}}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user