mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 16:58:29 +00:00
Fixed wrong region in RainbowGradient
This commit is contained in:
parent
7ef07ed99d
commit
5e90779398
@ -43,8 +43,6 @@ namespace CUE.NET.Gradients
|
|||||||
|
|
||||||
#region Methods
|
#region Methods
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the color on the rainbow at the given offset.
|
/// Gets the color on the rainbow at the given offset.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -58,5 +56,7 @@ namespace CUE.NET.Gradients
|
|||||||
hue += 360;
|
hue += 360;
|
||||||
return ColorHelper.ColorFromHSV(hue, 1f, 1f);
|
return ColorHelper.ColorFromHSV(hue, 1f, 1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user