brutal/Brutal.Numerics/Vector/ushort3/ushort3.math.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

17 lines
455 B
C#

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