Decimation_Mod/Lib/Util/LightingUtils.cs
FyloZ ccf33456d9 Updated Living Magma's sprite.
Added new Living Magma behavior.
Added the Tiny Living Magma.
2020-07-05 15:20:24 -04:00

12 lines
254 B
C#

using Microsoft.Xna.Framework;
namespace Decimation.Lib.Util
{
public class LightingUtils
{
public static Vector3 Rgb255ToRgb1(int r, int g, int b)
{
return new Vector3(r / 255f, g / 255f, b / 255f);
}
}
}