port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using SlimDX;
namespace Aiwaz.Contracts
{
public class ViewFrustum
{
public Plane[] Plane = new Plane[6];
};
public interface ICamera
{
Matrix ProjectionMatrix { get; }
Matrix ViewMatrix { get; }
float FarClip { get; set; }
float NearClip { get; set; }
ViewFrustum ViewFrustum { get; }
};
public interface IPerspectiveCamera
{
float Fov { get; set; }
float AspectRatio { get; set; }
};
public interface IOrthographicCamera
{
float Width { get; set; }
float Height { get; set; }
};
}