From e382dc9b71b16c068501c0323202d9845eaba716 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 15 May 2013 21:16:09 +1200 Subject: [PATCH] Remove obsolete functions from WorldRenderer. --- OpenRA.Game/Graphics/WorldRenderer.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/OpenRA.Game/Graphics/WorldRenderer.cs b/OpenRA.Game/Graphics/WorldRenderer.cs index 088ef22b6b..ede270e140 100644 --- a/OpenRA.Game/Graphics/WorldRenderer.cs +++ b/OpenRA.Game/Graphics/WorldRenderer.cs @@ -220,16 +220,5 @@ namespace OpenRA.Graphics } public float ScreenZPosition(WPos pos) { return (pos.Y + pos.Z)*Game.CellSize/1024f; } - - public int2 ScreenPxOffset(WVec vec) - { - return new int2(Game.CellSize*vec.X/1024, Game.CellSize*(vec.Y - vec.Z)/1024); - } - - public float[] ScreenOffset(WVec vec) - { - var c = Game.CellSize/1024f; - return new float[] {c*vec.X, c*vec.Y, c*vec.Z}; - } } }