Merge pull request #941 from AmbientMalice/new_SM64_wobble_fix

Super Mario 64 wobble fix
This commit is contained in:
zilmar 2016-01-27 19:08:55 +11:00
commit 7032ab5d33
1 changed files with 3 additions and 3 deletions

View File

@ -707,7 +707,7 @@ static void clip_w(int interpolate_colors)
rdp.vtxbuf[index].x = Vi.x + (Vj.x - Vi.x) * percent;
rdp.vtxbuf[index].y = Vi.y + (Vj.y - Vi.y) * percent;
rdp.vtxbuf[index].z = Vi.z + (Vj.z - Vi.z) * percent;
rdp.vtxbuf[index].w = 0.01f;
rdp.vtxbuf[index].w = 1.00f;
rdp.vtxbuf[index].u0 = Vi.u0 + (Vj.u0 - Vi.u0) * percent;
rdp.vtxbuf[index].v0 = Vi.v0 + (Vj.v0 - Vi.v0) * percent;
rdp.vtxbuf[index].u1 = Vi.u1 + (Vj.u1 - Vi.u1) * percent;
@ -728,7 +728,7 @@ static void clip_w(int interpolate_colors)
rdp.vtxbuf[index].x = Vj.x + (Vi.x - Vj.x) * percent;
rdp.vtxbuf[index].y = Vj.y + (Vi.y - Vj.y) * percent;
rdp.vtxbuf[index].z = Vj.z + (Vi.z - Vj.z) * percent;
rdp.vtxbuf[index].w = 0.01f;
rdp.vtxbuf[index].w = 1.00f;
rdp.vtxbuf[index].u0 = Vj.u0 + (Vi.u0 - Vj.u0) * percent;
rdp.vtxbuf[index].v0 = Vj.v0 + (Vi.v0 - Vj.v0) * percent;
rdp.vtxbuf[index].u1 = Vj.u1 + (Vi.u1 - Vj.u1) * percent;
@ -2164,4 +2164,4 @@ void set_message_combiner()
GR_MIPMAPLEVELMASK_BOTH,
&fontTex);
grFogMode(GR_FOG_DISABLE);
}
}