From e65bb2803347da31f8e969cb4587492f73798644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 16 Jun 2023 19:30:46 -0700 Subject: [PATCH] mtxLookAt: Fixed up. --- src/math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math.cpp b/src/math.cpp index 95c29ef..ae9dc4e 100644 --- a/src/math.cpp +++ b/src/math.cpp @@ -260,7 +260,7 @@ namespace bx right = normalize(uxv); } - up = cross(right, view); + up = cross(view, right); _result[ 0] = right.x; _result[ 1] = up.x;