aboutsummaryrefslogtreecommitdiff
path: root/libjin/Math/Matrix.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-03 18:55:29 +0800
committerchai <chaifix@163.com>2018-10-03 18:55:29 +0800
commitc6f9d4182aaa868a72acac59cf8837f5924ed11e (patch)
treedf83c8456209e7207b7d27ca288887687a72fee0 /libjin/Math/Matrix.h
parent1bfd342a90460e7360f96ea4ba7c4e02645c9b42 (diff)
*update
Diffstat (limited to 'libjin/Math/Matrix.h')
-rw-r--r--libjin/Math/Matrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libjin/Math/Matrix.h b/libjin/Math/Matrix.h
index b9a55d4..f02e317 100644
--- a/libjin/Math/Matrix.h
+++ b/libjin/Math/Matrix.h
@@ -16,6 +16,8 @@ namespace math
* This class is the basis for all transformations in LOVE. Althought not
* really needed for 2D, it contains 4x4 elements to be compatible with
* OpenGL without conversions.
+ * Ҫתõľ
+ * https://blog.csdn.net/candycat1992/article/details/8830894
**/
class Matrix
{
@@ -41,6 +43,8 @@ namespace math
**/
~Matrix();
+ void setOrtho(float _left, float _right, float _bottom, float _top, float _near, float _far);
+
/**
* Multiplies this Matrix with another Matrix, changing neither.
* @param m The Matrix to multiply with this Matrix.