diff options
| author | Andrew Van Caem <andrewwvc@gmail.com> | 2022-07-19 09:31:52 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-18 19:31:52 -0400 |
| commit | edfa369639593ae48afa25d838cbdb4f972ea2bf (patch) | |
| tree | 100df218743b7bfdbcc396487d6f49cdc785f3f4 | |
| parent | 169f757954bcfe788ee72b64b03b9650cd3dec17 (diff) | |
Add yShift position when displaying the positions of cylinders (#823)
| -rw-r--r-- | soh/soh/Enhancements/debugger/colViewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/debugger/colViewer.cpp b/soh/soh/Enhancements/debugger/colViewer.cpp index 1cab6ef64..e98ff0399 100644 --- a/soh/soh/Enhancements/debugger/colViewer.cpp +++ b/soh/soh/Enhancements/debugger/colViewer.cpp @@ -529,7 +529,7 @@ void DrawColCheckList(std::vector<Gfx>& dl, Collider** objects, int32_t count) { Mtx m; MtxF mt; - SkinMatrix_SetTranslate(&mt, cyl->dim.pos.x, cyl->dim.pos.y, cyl->dim.pos.z); + SkinMatrix_SetTranslate(&mt, cyl->dim.pos.x, cyl->dim.pos.y + cyl->dim.yShift, cyl->dim.pos.z); MtxF ms; int32_t radius = cyl->dim.radius == 0 ? 1 : cyl->dim.radius; SkinMatrix_SetScale(&ms, radius / 128.0f, cyl->dim.height / 128.0f, radius / 128.0f); |
