2020-08-07 08:12:46 +00:00
|
|
|
using Microsoft.Xna.Framework;
|
|
|
|
|
|
|
|
namespace Kav
|
|
|
|
{
|
|
|
|
public struct DirectionalLight
|
|
|
|
{
|
2020-08-28 08:12:17 +00:00
|
|
|
public Vector3 Direction { get; }
|
|
|
|
public Color Color { get; }
|
|
|
|
public float Intensity { get; }
|
2020-08-07 08:12:46 +00:00
|
|
|
|
|
|
|
public DirectionalLight(Vector3 direction, Color color, float intensity = 1f)
|
|
|
|
{
|
|
|
|
Direction = direction;
|
|
|
|
Color = color;
|
|
|
|
Intensity = intensity;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|