From 91c32cb173201ac8803a1e4452e8342969b8e484 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 29 Oct 2021 13:36:49 +0800 Subject: *GLSL test --- Runtime/Math/Matrix44.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Runtime/Math/Matrix44.h') 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 -- cgit v1.1-26-g67d0