Avoid redundant implicit float3 conversions.

This commit is contained in:
RoosterDragon
2018-04-27 22:54:54 +01:00
committed by Paul Chote
parent 90981e5bda
commit 296c732525

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Graphics
{
public class RgbaColorRenderer
{
static readonly float2 Offset = new float2(0.5f, 0.5f);
static readonly float3 Offset = new float3(0.5f, 0.5f, 0f);
readonly SpriteRenderer parent;
readonly Vertex[] vertices = new Vertex[6];