GxMatrixFlipZ
function · gx · primitive
- Address
0x5a0000· 135 bytes, up to0x5a0086- Signature
void __stdcall (const float *src, float *dst)- Meaning
- Copies a 4 by 4 matrix, negating elements 2, 6, 10 and 14
- Confidence
- verified, proof one
- Finding
- gx/draw#handedness-flip
- Test
gx::z_flip_matches_binary
Finding: Handedness flip in gx: drawing
0x5a0000(src, dst) copies a 4 by 4 matrix and negates elements 2, 6, 10 and 14, the Z column of the row-major layout. OpenGL loads the view matrix through 0x5a0090, which flips a copy with it and calls glLoadMatrixf in GL_MODELVIEW, and builds the texture matrix of coordinate mode 2 with it.
The derivation is in the doc.
Callers 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.