Replace float[] with float3 in voxel renderer.

This commit is contained in:
Paul Chote
2015-10-01 18:55:54 +01:00
parent a8dda39a72
commit 19a276da2b
2 changed files with 4 additions and 7 deletions

View File

@@ -21,9 +21,6 @@ namespace OpenRA.Graphics
public Vertex(float3 xyz, float u, float v, float p, float c)
: this(xyz.X, xyz.Y, xyz.Z, u, v, p, c) { }
public Vertex(float[] xyz, float u, float v, float p, float c)
: this(xyz[0], xyz[1], xyz[2], u, v, p, c) { }
public Vertex(float x, float y, float z, float u, float v, float p, float c)
{
X = x; Y = y; Z = z;