From d900e713c8aebcc0a56eb594007de62584d470ea Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 26 Oct 2024 20:26:40 +1100 Subject: spin cube in place --- assets/shaders/cube.metal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assets') diff --git a/assets/shaders/cube.metal b/assets/shaders/cube.metal index dc7ace1..93fa727 100644 --- a/assets/shaders/cube.metal +++ b/assets/shaders/cube.metal @@ -24,6 +24,8 @@ vertex VertexOut cubeVertexShader(uint vertexID [[vertex_id]], { VertexOut out; out.position = transformationData->perspectiveMatrix * transformationData->viewMatrix * transformationData->modelMatrix * vertexData[vertexID].position; + // out.position = transformationData->modelMatrix * vertexData[vertexID].position; + // out.position = vertexData[vertexID].position; out.textureCoordinate = vertexData[vertexID].texCoords; return out; } \ No newline at end of file -- cgit v1.2.3-70-g09d2