Fix remaining voxel references in Game.

This commit is contained in:
Paul Chote
2017-06-09 09:27:35 +01:00
committed by reaperrr
parent 6ca0208694
commit 2683b2507e
2 changed files with 15 additions and 15 deletions

View File

@@ -241,7 +241,7 @@ namespace OpenRA.Graphics
return new float3((float)Math.Round(px.X), (float)Math.Round(px.Y), px.Z);
}
// For scaling vectors to pixel sizes in the voxel renderer
// For scaling vectors to pixel sizes in the model renderer
public float3 ScreenVectorComponents(WVec vec)
{
return new float3(
@@ -250,7 +250,7 @@ namespace OpenRA.Graphics
(float)TileSize.Height * vec.Z / TileScale);
}
// For scaling vectors to pixel sizes in the voxel renderer
// For scaling vectors to pixel sizes in the model renderer
public float[] ScreenVector(WVec vec)
{
var xyz = ScreenVectorComponents(vec);