fix ortho

This commit is contained in:
Recep Aslantas
2016-10-09 14:08:08 +03:00
parent bc8cede3d8
commit 751391c8ff

View File

@@ -57,6 +57,7 @@ glm_ortho(float left,
dest[3][0] =-(right + left) / (right - left); dest[3][0] =-(right + left) / (right - left);
dest[3][1] =-(top + bottom) / (top - bottom); dest[3][1] =-(top + bottom) / (top - bottom);
dest[3][2] =-(far + near) / (far - near); dest[3][2] =-(far + near) / (far - near);
dest[3][3] = 1.0f;
} }
CGLM_INLINE CGLM_INLINE