Add depth buffer support to sprites and sequences.
This commit is contained in:
@@ -71,10 +71,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
struct TileInfo
|
||||
{
|
||||
public readonly float2 ScreenPosition;
|
||||
public readonly float3 ScreenPosition;
|
||||
public readonly byte Variant;
|
||||
|
||||
public TileInfo(float2 screenPosition, byte variant)
|
||||
public TileInfo(float3 screenPosition, byte variant)
|
||||
{
|
||||
ScreenPosition = screenPosition;
|
||||
Variant = variant;
|
||||
|
||||
Reference in New Issue
Block a user