èªä½ã²ã¼ã ã«çµã¿è¾¼ãã§ããè¡çªå¤å®ã«ã¤ãã¦ãæ´çãå ¼ãã¦ãç´¹ä»ãã¾ãã 説æãç°¡åã«ããããã«2D空éã§èª¬æãã¾ãã ãã¦ã³ãã£ã³ã°ããªã¥ã¼ã ãã¦ã³ãã£ã³ã°ããªã¥ã¼ã ã«ã¤ãã¦ã¯ã容æã«å¤å®å¯è½ã§å®ç¨çã¨ãããã¨ã§ å軸ã«å¹³è¡ãªåè§å½¢(以ä¸ã®å³ã®ãããªã®)ãæ¡ç¨ãã¾ãã ãã®ãããªåè§å½¢ã®ãã¨ãAABB(axis-aligned bounding box)ã¨è¨ãã¾ãã AABBã®ãã¼ã¿æ§é è²ã èãããã¾ããã æå°åº§æ¨ã¨ããããã®è¾ºã®é·ã ä¸å¿åº§æ¨ã¨ããããã®è¾ºã®ååã®é·ã æå°åº§æ¨ã¨æå¤§åº§æ¨ ããã§ã¯1.ãæ¡ç¨ãã¾ãã ãã¼ã¿æ§é ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã struct AABB { POINT min_; SIZE size_; }; å³ã«ããã¨ä»¥ä¸ã®ããã«ãªãã¾ãã éæ¢ãã¦ããAABBå士ã®è¡çªå¤å® ä¸ã®å³ã§obj1ã¨obj2ãè¡çªããæ¡ä»¶ãæç« ã§æ¸ãã¨ä»¥ä¸ã®ããã«ãªãã¾ãã ob
{{#tags}}- {{label}}
{{/tags}}