diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2021-11-17 11:52:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-17 05:52:26 -0500 |
| commit | 03636166b35b4ff8fac5991bea51eccb071f1f31 (patch) | |
| tree | fba54977a3083d23caae304ce5c3382ee2718501 /tools | |
| parent | 9ca6bfdac375b2008fcd2d19173c4017279eccde (diff) | |
Fix matrices documentation (#952)
* Update names and doc of `Matrix_RotateRPY` and `SkinMatrix_SetRotateRPY` to ZYX Tait-Bryan angles
* Update name and doc of `Matrix_JointPosition` to `Matrix_TranslateRotateZYX`
* `Euler ***` -> `Tait-Bryan *** angles`
* Update docs of `SkinMatrix_Vec3fMtxFMultXYZW` and `SkinMatrix_Vec3fMtxFMultXYZ`
* Fix doc of `SkinMatrix_MtxFMtxFMult`
* Update docs of `SkinMatrix_Invert`
* Change name and docs of `SkinMatrix_SetRotateYRP` to `SkinMatrix_SetRotateYXZ`
* Change name and docs of `SkinMatrix_SetScaleRotateRPYTranslate` to `SkinMatrix_SetScaleRotateZYXTranslate`
* Change name and docs of `SkinMatrix_SetScaleRotateYRPTranslate` to `SkinMatrix_SetScaleRotateYXZTranslate`
* Change name and docs of `SkinMatrix_SetRotateRPYTranslate` to `SkinMatrix_SetRotateZYXTranslate`
* Add renamed functions to `namefixer.py`
* Run formatter
* Consistent function names (`ABC()` if equivalent to `A() B() C()`)
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/namefixer.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/namefixer.py b/tools/namefixer.py index 42aced891..6f4761bcd 100755 --- a/tools/namefixer.py +++ b/tools/namefixer.py @@ -155,6 +155,11 @@ wordReplace = { "func_800D23FC": "Matrix_RotateAxis", "PLAYER": ("GET_PLAYER(globalCtx)", {"ignore": (-1, '"PLAYER"')}), # ignore "PLAYER" in sSoundBankNames "ACTIVE_CAM": "GET_ACTIVE_CAM(globalCtx)", + "SkinMatrix_SetRotateRPY": "SkinMatrix_SetRotateZYX", + "SkinMatrix_SetScaleRotateYRPTranslate": "SkinMatrix_SetScaleRotateYXZTranslate", + "SkinMatrix_SetRotateRPYTranslate": "SkinMatrix_SetRotateZYXTranslate", + "Matrix_RotateRPY": "Matrix_RotateZYX", + "Matrix_JointPosition": "Matrix_TranslateRotateZYX", } # [a-zA-Z0-9_] |
