mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +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 float3x2
|
||||
{
|
||||
public static float3x2 Pack(in double3x2 vector, Func<double, float> elementConverter)
|
||||
{
|
||||
MatrixPack.Pack(vector, out float3x2 result, elementConverter);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static void Pack(
|
||||
in ReadOnlySpan<double3x2> source,
|
||||
Span<float3x2> destination,
|
||||
Func<double, float> elementConverter
|
||||
)
|
||||
{
|
||||
MatrixPack.Pack(source, destination, elementConverter);
|
||||
}
|
||||
|
||||
public static float3x2 Pack(in double3x2 vector)
|
||||
{
|
||||
return Pack(vector, f => (float)f);
|
||||
}
|
||||
|
||||
public static void Pack(in ReadOnlySpan<double3x2> source, Span<float3x2> destination)
|
||||
{
|
||||
Pack(source, destination, f => (float)f);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue