From 3b6f5bde05f25f74d7656a470c8f541d10f0451f Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Fri, 26 Feb 2016 07:50:50 +0100 Subject: [PATCH] Fixing mtxProjRhXYWH(). --- include/bx/fpumath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bx/fpumath.h b/include/bx/fpumath.h index be125aa..b7b8566 100644 --- a/include/bx/fpumath.h +++ b/include/bx/fpumath.h @@ -640,8 +640,8 @@ namespace bx memset(_result, 0, sizeof(float)*16); _result[ 0] = _width; _result[ 5] = _height; - _result[ 8] = _x; - _result[ 9] = -_y; + _result[ 8] = -_x; + _result[ 9] = _y; _result[10] = aa; _result[11] = 1.0f; _result[14] = -bb;