mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
// <auto-generated /> - edit Matrix.pack.tt to modify
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.Numerics;
|
||||
|
||||
public partial struct double4x4
|
||||
{
|
||||
public static double4x4 Unpack(in float4x4 vector, Func<float, double> elementConverter)
|
||||
{
|
||||
MatrixPack.Pack(vector, out double4x4 result, elementConverter);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static void Unpack(
|
||||
in ReadOnlySpan<float4x4> source,
|
||||
Span<double4x4> destination,
|
||||
Func<float, double> elementConverter
|
||||
)
|
||||
{
|
||||
MatrixPack.Pack(source, destination, elementConverter);
|
||||
}
|
||||
|
||||
public static double4x4 Unpack(in float4x4 vector)
|
||||
{
|
||||
return Unpack(vector, f => f);
|
||||
}
|
||||
|
||||
public static void Unpack(in ReadOnlySpan<float4x4> source, Span<double4x4> destination)
|
||||
{
|
||||
Unpack(source, destination, f => f);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue