aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.h
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-05-21 20:14:03 +0200
committerStapleButter <thetotalworm@gmail.com>2017-05-21 20:14:03 +0200
commitcb1b03b2537c2860344cd4533a4261fd2adad933 (patch)
treea65108770f03dce82c52f757220b6799a2ce2807 /src/GPU3D.h
parentedc959dcf51eda1e5c844896f1c1efe67cff5776 (diff)
make the 3D renderer work per-scanline
Diffstat (limited to 'src/GPU3D.h')
-rw-r--r--src/GPU3D.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GPU3D.h b/src/GPU3D.h
index ae24658..739b2d8 100644
--- a/src/GPU3D.h
+++ b/src/GPU3D.h
@@ -22,6 +22,11 @@
namespace GPU3D
{
+namespace SoftRenderer
+{
+class Slope;
+}
+
typedef struct
{
s32 Position[4];
@@ -59,6 +64,8 @@ typedef struct
bool IsShadow;
bool ClearStencil;
+ // data below rather specific to the software renderer
+
u32 VTop, VBottom; // vertex indices
s32 YTop, YBottom; // Y coords
s32 XTop, XBottom; // associated X coords