using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Subsurface.Lights { class LightManager { public static Vector2 viewPos; public static bool fowEnabled = true; public static void DrawFow(GraphicsDevice graphics, Camera cam) { if (!fowEnabled) return; foreach (ConvexHull convexHull in ConvexHull.list) { convexHull.DrawShadows(graphics, cam, viewPos); } } } }