5 #################################################
6 # Implementation of the Oriented Bounding Boxes (OBB) functionality
7 #################################################
9 # Interferences of AABB
11 box b1 100 60 140 20 10 80
12 box b2 210 200 80 120 60 90
14 if { ![regexp {NOT interfered by AABB} [ isbbinterf b1 b2 ] ] } {
15 puts "Error : Wrong check of AABBs interferences"
17 puts "OK : check of AABBs interferences"
20 if { ![regexp {NOT interfered by AABB} [ isbbinterf b2 b1 ] ] } {
21 puts "Error : Wrong check of AABBs interferences"
23 puts "OK : check of AABBs interferences"