source: 2013/30/MiskaK/MW2(My Warfare 2)/Krypton/ShadowHullPoint.cs @ 4507

Revision 4507, 1009 bytes checked in by anlakane, 8 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6using Microsoft.Xna.Framework;
7
8namespace Krypton
9{
10    /// <summary>
11    /// A two dimensional point with normal
12    /// </summary>
13    public struct ShadowHullPoint
14    {
15        /// <summary>
16        /// Creates a new Shadow Hull Point
17        /// </summary>
18        /// <param name="position">The position of the point</param>
19        /// <param name="normal">The normal of the side which the point helps represent</param>
20        public ShadowHullPoint(Vector2 position, Vector2 normal)
21        {
22            this.Position = position;
23            this.Normal = normal;
24        }
25
26        /// <summary>
27        /// The position of the point
28        /// </summary>
29        public Vector2 Position;
30       
31        /// <summary>
32        /// The normal of the side of the shadow hull of which the point helps represent
33        /// </summary>
34        public Vector2 Normal;
35    }
36}
Note: See TracBrowser for help on using the repository browser.