Просмотр исходного кода

Merge pull request #98 from dariomanesku/master

Bgfx examples are made for *Lh() matrices.
Branimir Karadžić 9 лет назад
Родитель
Сommit
60a81caac9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/bx/fpumath.h

+ 1 - 1
include/bx/fpumath.h

@@ -764,7 +764,7 @@ 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)
 	{
-	    return mtxOrthoRh(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc);
+	    return mtxOrthoLh(_result, _left, _right, _bottom, _top, _near, _far, _offset, _oglNdc);
 	}
 
 	inline void mtxRotateX(float* _result, float _ax)