Transitioned from VectorX to floatX

And some trying to update Rigidbody when transform changes
This commit is contained in:
Simon Lübeß
2023-06-25 02:47:33 +02:00
parent 5f5da2ed35
commit 9e1f648aa0
49 changed files with 1281 additions and 871 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ namespace GlitchyEngine.Renderer
s_fullscreenQuadGeometry = new GeometryBinding();
s_fullscreenQuadGeometry.SetPrimitiveTopology(.TriangleList);
using(var quadVertices = new VertexBuffer(typeof(Vector4), 3, .Immutable))
using(var quadVertices = new VertexBuffer(typeof(float4), 3, .Immutable))
{
Vector4[4] vertices = .(
float4[4] vertices = .(
.(-1, 1, 0, 0),
.( 3, 1, 2, 0),
.(-1,-3, 0, 2),