UnityGame/Library/PackageCache/com.unity.render-pipelines.universal/Runtime/2D/Shadows/ShadowProvider/ShadowEdge.cs

26 lines
456 B
C#
Raw Permalink Normal View History

2024-10-27 10:53:47 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.Rendering.Universal
{
internal struct ShadowEdge
{
public int v0;
public int v1;
public ShadowEdge(int indexA, int indexB)
{
v0 = indexA;
v1 = indexB;
}
public void Reverse()
{
int tmp = v0;
v0 = v1;
v1 = tmp;
}
}
}