Update Job

This commit is contained in:
2026-02-21 17:20:51 +09:00
parent 4f964b2d2a
commit 7367826978
23 changed files with 511 additions and 276 deletions

View File

@@ -317,6 +317,23 @@ public static unsafe partial class MathV
# endregion
<# } #>
# region Vector3 Specific
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Vector3<<#= GenericParameters #>> Cross<<#= GenericParameters #>>(in Vector3<<#= GenericParameters #>> a, in Vector3<<#= GenericParameters #>> b)
<#= TLaneRestrictions #>
<#= TNumberRestrictions #>
{
return new Vector3<<#= GenericParameters #>>
{
x = a.y * b.z - a.z * b.y,
y = a.z * b.x - a.x * b.z,
z = a.x * b.y - a.y * b.x,
};
}
# endregion
}
<#+