isInside (AABB n x) p = px p >= px n && px p <= px x
                     && py p >= py n && py p <= py x
                     && pz p >= pz n && pz p <= pz x
isInside (AABB n x) p = px p >= px n && px p <= px x
                     && py p >= py n && py p <= py x
                     && pz p >= pz n && pz p <= pz x
isInside (AABB n x) p = px p >= px n && px p <= px x
                     && py p >= py n && py p <= py x
                     && pz p >= pz n && pz p <= pz x