Move math utilities to OpenNest.Math namespace
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
12
OpenNest.Core/Math/Generic.cs
Normal file
12
OpenNest.Core/Math/Generic.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace OpenNest.Math
|
||||
{
|
||||
public static class Generic
|
||||
{
|
||||
public static void Swap<T>(ref T a, ref T b)
|
||||
{
|
||||
T c = a;
|
||||
a = b;
|
||||
b = c;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user