mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2025-02-02 19:24:27 +00:00
Widescreen 20x9 notes
This commit is contained in:
parent
f15371fa59
commit
c6a4f0e831
@ -129,11 +129,12 @@ void DECOMP_TileView_SetMatrixVP(struct TileView* tileView)
|
||||
#if 1
|
||||
// Y axis is already scaled 512/216 x 0x360/0x600 -> 4x3
|
||||
// X axis correction for 16x9 must be 9/16 x 4/3 -> 0.75
|
||||
// 16x9 is 0.75, 20x9 is 0.6, etc
|
||||
|
||||
// Somewhere you need a 0.75 scale, ND Box and Main Menu
|
||||
// look corrrect, but race tracks break
|
||||
tileView->matrix_ViewProj.m[0][0] =
|
||||
tileView->matrix_ViewProj.m[0][0] * 750 / 1000;
|
||||
tileView->matrix_ViewProj.m[0][0] * 600 / 1000;
|
||||
#endif
|
||||
|
||||
// scale Y axis (1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user