fix: rotation mask incorrect

This commit is contained in:
2025-09-09 19:36:54 +02:00
parent e9226e4a39
commit 7ccc679d54

View File

@@ -17,10 +17,10 @@ enum tetromino {
TET_L = 0x04,
TET_S = 0x05,
TET_Z = 0x06,
TET_R0 = 0x08,
TET_R90 = 0x10,
TET_R180 = 0x20,
TET_R270 = 0x40,
TET_R0 = 0x00,
TET_R90 = 0x08,
TET_R180 = 0x10,
TET_R270 = 0x18,
};
/* Stores the co-ordinates of the four blocks in a 4x4 plane.