brutal/brutal.numerics/Brutal.Numerics/Vector/uint3/uint3.math.gen.cs
2026-10-15 14:12:02 +13:00

17 lines
417 B
C#

// <auto-generated /> - edit Vector.math.tt to modify
#nullable enable
namespace Brutal.Numerics;
public partial struct uint3
{
/// <inheritdoc cref="Vector3.Cross" />
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static uint3 Cross(uint3 a, uint3 b)
{
return new(
a.Y * b.Z - a.Z * b.Y,
a.Z * b.X - a.X * b.Z,
a.X * b.Y - a.Y * b.X);
}
}