blob: f2bea2b4157f214c3436da4fb11e6026f050ec4f [file] [edit]
puts "========"
puts "OCC29311"
puts "========"
puts ""
#################################################
# Implementation of the Oriented Bounding Boxes (OBB) functionality
#################################################
# Interferences of AABB
box b1 300 300 300
box b2 100 100 100 50 50 50
if { [regexp {NOT interfered by AABB} [ isbbinterf b1 b2 ] ] } {
puts "Error : Wrong check of AABBs interferences"
} else {
puts "OK : check of AABBs interferences"
}
if { [regexp {NOT interfered by AABB} [ isbbinterf b2 b1 ] ] } {
puts "Error : Wrong check of AABBs interferences"
} else {
puts "OK : check of AABBs interferences"
}