You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Nearclipping now scales with farclipping automatically and correctly
Also stubbed out an experimental PC2 thing I forgot to do the first time lolol
This commit is contained in:
@@ -1189,7 +1189,7 @@ void puppycam_projection_behaviours(void)
|
||||
puppycam_terrain_angle();
|
||||
|
||||
//This will shift the intended yaw when wall kicking, to align with the wall being kicked.
|
||||
puppycam_wall_angle();
|
||||
//puppycam_wall_angle();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -265,7 +265,7 @@ static void geo_process_perspective(struct GraphNodePerspective *node) {
|
||||
else
|
||||
gWorldScale = 1.0f;
|
||||
|
||||
guPerspective(mtx, &perspNorm, node->fov, aspect, node->near / gWorldScale, node->far / gWorldScale, 1.0f);
|
||||
guPerspective(mtx, &perspNorm, node->fov, aspect, (node->far/300) / gWorldScale, node->far / gWorldScale, 1.0f);
|
||||
gSPPerspNormalize(gDisplayListHead++, perspNorm);
|
||||
|
||||
gSPMatrix(gDisplayListHead++, VIRTUAL_TO_PHYSICAL(mtx), G_MTX_PROJECTION | G_MTX_LOAD | G_MTX_NOPUSH);
|
||||
|
||||
Reference in New Issue
Block a user