diff tests/test_rendering.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 a89a70ea3da2
line wrap: on
line diff
--- a/tests/test_rendering.nim	Mon Jul 29 12:22:58 2024 +0700
+++ b/tests/test_rendering.nim	Mon Jul 29 15:04:52 2024 +0700
@@ -436,7 +436,7 @@
     let tStartLoop = getMonoTime() - tStart
 
     uniforms1.data.data.data.mvp = (
-      Perspective(-PI / 2, GetAspectRatio(), 0.01, 100) *
+      Projection(-PI / 2, GetAspectRatio(), 0.01, 100) *
       Translate(0, 0, 2) *
       Rotate(PI / 4, X) *
       Rotate(PI * 0.1 * (tStartLoop.inMicroseconds() / 1_000_000), Y)