Clean up style of files affected by the last commit.
This commit is contained in:
committed by
RoosterDragon
parent
f0f02dff5c
commit
9cbac2d5e1
@@ -15,10 +15,9 @@ namespace OpenRA.Graphics
|
||||
{
|
||||
sealed class TerrainRenderer : IDisposable
|
||||
{
|
||||
IVertexBuffer<Vertex> vertexBuffer;
|
||||
|
||||
World world;
|
||||
Map map;
|
||||
readonly IVertexBuffer<Vertex> vertexBuffer;
|
||||
readonly World world;
|
||||
readonly Map map;
|
||||
|
||||
public TerrainRenderer(World world, WorldRenderer wr)
|
||||
{
|
||||
@@ -43,7 +42,7 @@ namespace OpenRA.Graphics
|
||||
|
||||
public void Draw(WorldRenderer wr, Viewport viewport)
|
||||
{
|
||||
var verticesPerRow = 4*map.Bounds.Width;
|
||||
var verticesPerRow = 4 * map.Bounds.Width;
|
||||
var cells = viewport.VisibleCells;
|
||||
var shape = wr.world.Map.TileShape;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user