diff tests/test_gltf.nim @ 1277:01138e6257dd

did: fix a few things
author sam <sam@basx.dev>
date Mon, 29 Jul 2024 15:04:52 +0700
parents 4cf9872f7bb6
children e0ba4aead324 a89a70ea3da2
line wrap: on
line diff
--- a/tests/test_gltf.nim	Mon Jul 29 12:22:58 2024 +0700
+++ b/tests/test_gltf.nim	Mon Jul 29 15:04:52 2024 +0700
@@ -177,7 +177,7 @@
     let view = Rotate(-camPitch, X) * Rotate(-camYaw, Y) * Translate(-camPos)
     descriptors.data.camera.data.view = view
     descriptors.data.camera.data.normal = view
-    descriptors.data.camera.data.projection = Perspective(PI / 2, aspect = GetAspectRatio(), zNear = 0.01, zFar = 20)
+    descriptors.data.camera.data.projection = Projection(PI / 2, aspect = GetAspectRatio(), zNear = 0.01, zFar = 20)
 
     UpdateGPUBuffer(descriptors.data.camera)