Revision 4507,
1009 bytes
checked in by anlakane, 8 years ago
(diff) |
Talletus.
|
Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | |
---|
6 | using Microsoft.Xna.Framework; |
---|
7 | |
---|
8 | namespace 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.