summaryrefslogtreecommitdiff
path: root/Runtime/Math/Matrix44.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-29 13:36:49 +0800
committerchai <chaifix@163.com>2021-10-29 13:36:49 +0800
commit91c32cb173201ac8803a1e4452e8342969b8e484 (patch)
tree5e78c485b5fcfcf839a2348667597d7e10476214 /Runtime/Math/Matrix44.h
parent1f92d4c389cceba6f90261d9cb29885c8a3ca24c (diff)
*GLSL test
Diffstat (limited to 'Runtime/Math/Matrix44.h')
-rw-r--r--Runtime/Math/Matrix44.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/Runtime/Math/Matrix44.h b/Runtime/Math/Matrix44.h
index 1ec92fd..0fbf4a7 100644
--- a/Runtime/Math/Matrix44.h
+++ b/Runtime/Math/Matrix44.h
@@ -2,8 +2,20 @@
namespace Internal
{
- class Matrix44
+ struct Matrix44
{
+ Matrix44()
+ {
+ m[0][0] = 1;
+ m[1][1] = 1;
+ m[2][2] = 1;
+ m[3][3] = 1;
+ }
+
+ float m[4][4]; // ÐÐÖ÷Ïî
+
+ static Matrix44 identity;
};
-}
+
+} \ No newline at end of file