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:
1 parent
1e0d308382
commit
60612ff1ec
2 files changed
+2
-2
No files matched your search
@@ -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