aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-05-28 18:36:42 +0200
committerStapleButter <thetotalworm@gmail.com>2017-05-28 18:36:42 +0200
commitae78faf2a743ec87f6165b8dc4b008ba1897d06d (patch)
tree78e241a0d27d68ed960345e4d3ea8034194f3a1e /src/GPU3D.cpp
parent529039f7666692fd528530fef342a58a3084b347 (diff)
rework slope/edge code. lay groundwork for antialiasing.
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index 7ebe956..f3c946e 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -896,8 +896,6 @@ void SubmitVertex()
s64 vertex[4] = {(s64)CurVertex[0], (s64)CurVertex[1], (s64)CurVertex[2], 0x1000};
Vertex* vertextrans = &TempVertexBuffer[VertexNumInPoly];
- //printf("vertex: %08X %08X %08X, %d %d %d\n", CurVertex[0], CurVertex[1], CurVertex[2], VertexColor[0], VertexColor[1], VertexColor[2]);
-
UpdateClipMatrix();
vertextrans->Position[0] = (vertex[0]*ClipMatrix[0] + vertex[1]*ClipMatrix[4] + vertex[2]*ClipMatrix[8] + vertex[3]*ClipMatrix[12]) >> 12;
vertextrans->Position[1] = (vertex[0]*ClipMatrix[1] + vertex[1]*ClipMatrix[5] + vertex[2]*ClipMatrix[9] + vertex[3]*ClipMatrix[13]) >> 12;