It's been a long time since I read A Wrinkle in Time, but I remember the heroes using a phenomenon or device called a tessaract to travel across space, kind of like a stargate. I later learned that the word "tesseract" is a real mathematical term and refers to a four-dimensional cube-like object, also sometimes called a hypercube.
I'm not seeing the connection between these two uses of the term. I know physicists were making hypotheses about extra dimensions before A Wrinkle in Time came out, and I can sort of see the connection between extra dimensions and quick travel through three-dimensional space, but I don't see how a four-dimensional cube enters into the equation.
Is there any connection between how "tesseract" is used in A Wrinkle in Time and how it's used in mathematics?