mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
replace Util.Clamp<T>()
This commit is contained in:
@@ -659,6 +659,7 @@ namespace OpenSim.Framework
|
||||
return true;
|
||||
}
|
||||
|
||||
//obsolete use Math.Clamp
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static T Clamp<T>(T x, T min, T max)
|
||||
where T : IComparable<T>
|
||||
|
||||
Reference in New Issue
Block a user