This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37

View 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);
}
}