mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Render basic geometry
Added GraphicsContext, SwapChain, Buffer, VertexBuffer, IndexBuffer and a basic DX11 implementation.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace GlitchyEngine.Math
|
||||
{
|
||||
typealias Color = DirectX.Color;
|
||||
typealias ColorRGB = DirectX.ColorRGB;
|
||||
typealias ColorRGBA = DirectX.ColorRGBA;
|
||||
|
||||
typealias Vector2 = DirectX.Math.Vector2;
|
||||
typealias Vector3 = DirectX.Math.Vector3;
|
||||
typealias Vector4 = DirectX.Math.Vector4;
|
||||
|
||||
typealias Matrix3x3 = DirectX.Math.Matrix3x3;
|
||||
typealias Matrix4x3 = DirectX.Math.Matrix4x3;
|
||||
typealias Matrix = DirectX.Math.Matrix;
|
||||
}
|
||||
@@ -2,6 +2,7 @@ using System;
|
||||
|
||||
namespace GlitchyEngine.Math
|
||||
{
|
||||
|
||||
/**
|
||||
* A 2D point represented by two 32bit integers.
|
||||
*/
|
||||
@@ -126,4 +127,5 @@ namespace GlitchyEngine.Math
|
||||
//
|
||||
public override void ToString(String strBuffer) => strBuffer.AppendF("X={0} Y={1}", X, Y);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user