From 590d35a7e7cec758406cfdcedd708aed801ba67f Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Sun, 27 Mar 2016 05:00:19 +0200 Subject: [PATCH] Amend for previous commit. --- include/bx/fpumath.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/bx/fpumath.h b/include/bx/fpumath.h index 6d404e5..4cf3158 100644 --- a/include/bx/fpumath.h +++ b/include/bx/fpumath.h @@ -776,7 +776,7 @@ namespace bx inline void mtxProjInf(float* _result, const float _fov[4], float _near, bool _oglNdc = false) { - mtxProjInf_impl(_result, _fov[0], _fov[1], _fov[2], _fov[3], _near, _oglNdc); + mtxProjInf_impl(_result, _fov, _near, _oglNdc); } inline void mtxProjInf(float* _result, float _ut, float _dt, float _lt, float _rt, float _near, bool _oglNdc = false) @@ -796,7 +796,7 @@ namespace bx inline void mtxProjInfLh(float* _result, const float _fov[4], float _near, bool _oglNdc = false) { - mtxProjInf_impl(_result, _fov[0], _fov[1], _fov[2], _fov[3], _near, _oglNdc); + mtxProjInf_impl(_result, _fov, _near, _oglNdc); } inline void mtxProjInfLh(float* _result, float _fovy, float _aspect, float _near, bool _oglNdc = false) @@ -811,7 +811,7 @@ namespace bx inline void mtxProjInfRh(float* _result, const float _fov[4], float _near, bool _oglNdc = false) { - mtxProjInf_impl(_result, _fov[0], _fov[1], _fov[2], _fov[3], _near, _oglNdc); + mtxProjInf_impl(_result, _fov, _near, _oglNdc); } inline void mtxProjInfRh(float* _result, float _fovy, float _aspect, float _near, bool _oglNdc = false) @@ -826,7 +826,7 @@ namespace bx inline void mtxProjRevInfLh(float* _result, const float _fov[4], float _near, bool _oglNdc = false) { - mtxProjInf_impl(_result, _fov[0], _fov[1], _fov[2], _fov[3], _near, _oglNdc); + mtxProjInf_impl(_result, _fov, _near, _oglNdc); } inline void mtxProjRevInfLh(float* _result, float _fovy, float _aspect, float _near, bool _oglNdc = false) @@ -871,17 +871,17 @@ namespace bx inline void mtxOrtho(float* _result, float _left, float _right, float _bottom, float _top, float _near, float _far, float _offset = 0.0f, bool _oglNdc = false) { - mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); + mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); } inline void mtxOrthoLh(float* _result, float _left, float _right, float _bottom, float _top, float _near, float _far, float _offset = 0.0f, bool _oglNdc = false) { - mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); + mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); } inline void mtxOrthoRh(float* _result, float _left, float _right, float _bottom, float _top, float _near, float _far, float _offset = 0.0f, bool _oglNdc = false) { - mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); + mtxOrtho_impl(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc); } inline void mtxRotateX(float* _result, float _ax)