using System.Numerics; using Robust.Shared.GameStates; using Robust.Shared.Physics; namespace Content.Shared.Light.Components; /// /// Treats this entity as a 1x1 tile and extrapolates its position along the direction. /// [RegisterComponent, NetworkedComponent] public sealed partial class SunShadowCastComponent : Component { /// /// Points that will be extruded to draw the shadow color. /// Max /// [DataField] public Vector2[] Points = new[] { new Vector2(-0.5f, -0.5f), new Vector2(0.5f, -0.5f), new Vector2(0.5f, 0.5f), new Vector2(-0.5f, 0.5f), }; }