mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
32
Brutal.Numerics/Matrix/double3x2/double3x2.pack.gen.cs
Normal file
32
Brutal.Numerics/Matrix/double3x2/double3x2.pack.gen.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
// <auto-generated /> - edit Matrix.pack.tt to modify
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.Numerics;
|
||||
|
||||
public partial struct double3x2
|
||||
{
|
||||
public static double3x2 Unpack(in float3x2 vector, Func<float, double> elementConverter)
|
||||
{
|
||||
MatrixPack.Pack(vector, out double3x2 result, elementConverter);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static void Unpack(
|
||||
in ReadOnlySpan<float3x2> source,
|
||||
Span<double3x2> destination,
|
||||
Func<float, double> elementConverter
|
||||
)
|
||||
{
|
||||
MatrixPack.Pack(source, destination, elementConverter);
|
||||
}
|
||||
|
||||
public static double3x2 Unpack(in float3x2 vector)
|
||||
{
|
||||
return Unpack(vector, f => f);
|
||||
}
|
||||
|
||||
public static void Unpack(in ReadOnlySpan<float3x2> source, Span<double3x2> destination)
|
||||
{
|
||||
Unpack(source, destination, f => f);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue