using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; namespace Krypton { /// /// A two dimensional point with normal /// public struct ShadowHullPoint { /// /// Creates a new Shadow Hull Point /// /// The position of the point /// The normal of the side which the point helps represent public ShadowHullPoint(Vector2 position, Vector2 normal) { this.Position = position; this.Normal = normal; } /// /// The position of the point /// public Vector2 Position; /// /// The normal of the side of the shadow hull of which the point helps represent /// public Vector2 Normal; } }