mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
17 lines
417 B
C#
17 lines
417 B
C#
// <auto-generated /> - edit Vector.math.tt to modify
|
|
#nullable enable
|
|
|
|
namespace Brutal.Numerics;
|
|
|
|
public partial struct long3
|
|
{
|
|
/// <inheritdoc cref="Vector3.Cross" />
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
public static long3 Cross(long3 a, long3 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);
|
|
}
|
|
}
|