diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-05-21 20:14:03 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-05-21 20:14:03 +0200 |
commit | cb1b03b2537c2860344cd4533a4261fd2adad933 (patch) | |
tree | a65108770f03dce82c52f757220b6799a2ce2807 /src/GPU3D.h | |
parent | edc959dcf51eda1e5c844896f1c1efe67cff5776 (diff) |
make the 3D renderer work per-scanline
Diffstat (limited to 'src/GPU3D.h')
-rw-r--r-- | src/GPU3D.h | 7 |
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 |