public void RecalculateGeometry() { Geom = new RhysGeom(); Geom.CellHeight = CellHeight; Geom.CellWidth = CellWidth; Geom.CellYScale = CellScale; Geom.Process(City); Geom.CreateBuffer(GameFacade.GraphicsDevice); lightDirection = new Vector3((City.Width * CellWidth), (City.Height * CellHeight), -400f); }