22 lines
452 B
C#
22 lines
452 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using System.Numerics;
|
|
|
|
namespace StgSharp.Math
|
|
{
|
|
public static unsafe partial class Calc
|
|
{
|
|
|
|
public static unsafe bool Equals<T>(T left,T right)
|
|
where T : notnull
|
|
{
|
|
if (typeof(T) == typeof(float))
|
|
{
|
|
return left.Equals(right);
|
|
}
|
|
}
|
|
}
|
|
}
|