Go to the source code of this file.
|
| struct | Vector2 |
| | Two-component vector, used for texture coordinates. More...
|
|
| namespace | Rnd |
| | The rendering engine.
|
◆ SubVec2()
| void SubVec2 |
( |
const float * | pA, |
|
|
const float * | pB, |
|
|
float * | pOut ) |
Subtract one two-component vector from another.
The destination may alias either source because both loads precede both stores. The routine reads y before x and stores y before x, with the x store in the return delay slot, matching Rnd::Add().
- Parameters
-
| pA | The vector subtracted from. |
| pB | The vector subtracted. |
| pOut | Receives pA minus pB, and may alias either input. |
- Ghidra address:
- NTSC-U/C: 0x004bec40
- Ghidra address:
- PAL: 0x004fccc8