From 35113cc6cdcb720ac218ba1dcfdf2eebebee3e9d Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 2 Mar 2024 18:24:22 +0100 Subject: [PATCH] ongoing work, check of touching other objects won't work so far --- test01.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test01.c b/test01.c index d7ebc83..618f091 100644 --- a/test01.c +++ b/test01.c @@ -166,6 +166,9 @@ int checkOtherObjectsTouchedForObject() { // return true if another object is touched int res = 0; + // BROKEN! That doesn't work, pixels of the moving object would also be considered. + // The direction must be considered, only the first pixels in the moving direction + // must be checked. switch (object.shape) { case e_O: switch (object.rotation) {