diff --git a/src/render/render.cpp b/src/render/render.cpp index 3beb83d1..b3327ec0 100644 --- a/src/render/render.cpp +++ b/src/render/render.cpp @@ -56,7 +56,7 @@ Vector Camera::UnProjectPoint3(Vector p) const { Vector orig = offset.ScaledBy(-1); orig = orig.Plus(projRight.ScaledBy(p.x)).Plus( projUp. ScaledBy(p.y).Plus( - projRight.Cross(projUp). ScaledBy(p.z))); + projUp.Cross(projRight). ScaledBy(p.z))); return orig; } diff --git a/test/constraint/pt_on_face/normal.png b/test/constraint/pt_on_face/normal.png index 1258dcad..62080a07 100644 Binary files a/test/constraint/pt_on_face/normal.png and b/test/constraint/pt_on_face/normal.png differ diff --git a/test/group/translate_asy/normal.png b/test/group/translate_asy/normal.png index c889c07e..c9b4e4ec 100644 Binary files a/test/group/translate_asy/normal.png and b/test/group/translate_asy/normal.png differ