Krypton lighting engine

http://krypton.codeplex.com/
This commit is contained in:
Simon Holmberg
2012-09-29 22:04:29 +02:00
parent 57789c4600
commit a056127f7c
21 changed files with 2977 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Krypton
{
/// <summary>
/// A two dimensional point with normal
/// </summary>
public struct ShadowHullPoint
{
/// <summary>
/// Creates a new Shadow Hull Point
/// </summary>
/// <param name="position">The position of the point</param>
/// <param name="normal">The normal of the side which the point helps represent</param>
public ShadowHullPoint(Vector2 position, Vector2 normal)
{
this.Position = position;
this.Normal = normal;
}
/// <summary>
/// The position of the point
/// </summary>
public Vector2 Position;
/// <summary>
/// The normal of the side of the shadow hull of which the point helps represent
/// </summary>
public Vector2 Normal;
}
}