summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-26 20:26:40 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-26 20:26:40 +1100
commitd900e713c8aebcc0a56eb594007de62584d470ea (patch)
tree048d619dc84d12fcc4fabd40af0cffcea5b92223 /assets
parent6182860f1b1aba4128b4f66eda7977600e60d1a0 (diff)
spin cube in place
Diffstat (limited to 'assets')
-rw-r--r--assets/shaders/cube.metal2
1 files changed, 2 insertions, 0 deletions
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