iterami
/
Docs.htm
/
common HTM Projects
/
math.js
/math_cuboid_overlap(args)
Checks if 2 cuboids are overlapping and returns a boolean.
Z-axis and depth are optional, allowing 2D rectangle overlap check.
Arg
Default
Type
depth-0
0
number
depth-1
0
number
height-0
number
height-1
number
width-0
number
width-1
number
x-0
number
x-1
number
y-0
number
y-1
number
z-0
0
number
z-1
0
number