diff tests/test_gltf.nim @ 1279:e0ba4aead324

merge
author sam <sam@basx.dev>
date Mon, 29 Jul 2024 15:43:44 +0700
parents 772bb32c4368 01138e6257dd
children c09cdff9a97e
line wrap: on
line diff
--- a/tests/test_gltf.nim	Mon Jul 29 00:00:28 2024 +0700
+++ b/tests/test_gltf.nim	Mon Jul 29 15:43:44 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)