mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
Simplified usages
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Microsoft.Iris.Render
|
||||
|
||||
public SCurveInterpolation(float weight)
|
||||
{
|
||||
Debug2.Validate((double)weight > 0.0, typeof(ArgumentOutOfRangeException), "weight must be > 0");
|
||||
Debug2.Validate(weight > 0.0, typeof(ArgumentOutOfRangeException), "weight must be > 0");
|
||||
this.m_weight = weight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user