m4x4 identity

This commit is contained in:
h4570
2022-08-10 19:22:59 +02:00
parent 5cc5862810
commit 0df43e5a08
4 changed files with 24 additions and 15 deletions
+4
View File
@@ -112,6 +112,10 @@ void Tutorial01 ::init() {
u32 column = i % columns;
u32 row = i / rows;
translations[i].identity();
rotations[i].identity();
scales[i].identity();
translations[i].translateX(row * offset - center);
translations[i].translateY(column * offset - center);
translations[i].translateZ(-10.0F);