The first 3 lines look like a matrix, yes.
It's not exactly a 3D cube, but it can relate to one, depending on how it is interpreted. But in any case, it's a
mathematical device.
Here are the different numbers I have for the camera of these two maps. If you can try and see what you need amongst them and in which order, I can generate a file containing all the coordinates for all the maps.
Ice Cavern/Outside
Proj = 588
Matrix =
4096 -14 -32
0 3451 -1763
35 1645 3697
Position = 6 -379 -1190
CenterOffset = 0 -7
WidthHeight = 352 560
vrp = 160 192 112 448
Depth = -1
Ice Cavern/Entrance
Proj = 718
Matrix =
4093 -10 152
0 3814 286
-153 -266 4083
Position = -319 1246 9176
CenterOffset = 0 -136
WidthHeight = 320 368
vrp = 160 160 112 256
Depth = -196
Maybe the matrix should be "transposed", that is, instead of using these for the Entrance:
x: 4093 y: -10 z: 152
x: 0 y: 3814 z: 286
x: -153 y: -266 z: 4083
The numbers may need to be symmetrized like this:
x: 4093 y: 0 z: -153
x: -10 y: 3814 z: -266
x: 152 y: 286 z: 4083