mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
17
Brutal.Numerics/Vector/byte3/byte3.math.gen.cs
Normal file
17
Brutal.Numerics/Vector/byte3/byte3.math.gen.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// <auto-generated /> - edit Vector.math.tt to modify
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.Numerics;
|
||||
|
||||
public partial struct byte3
|
||||
{
|
||||
/// <inheritdoc cref="Vector3.Cross" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static byte3 Cross(byte3 a, byte3 b)
|
||||
{
|
||||
return new(
|
||||
(byte)(a.Y * b.Z - a.Z * b.Y),
|
||||
(byte)(a.Z * b.X - a.X * b.Z),
|
||||
(byte)(a.X * b.Y - a.Y * b.X));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue