We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17d9703 commit 430798dCopy full SHA for 430798d
src/RSP.cpp
@@ -139,6 +139,8 @@ void RSP_ProcessDList()
139
gSP.matrix.modelViewi = 0;
140
gSP.status[0] = gSP.status[1] = gSP.status[2] = gSP.status[3] = 0;
141
gSP.geometryMode = 0U;
142
+ memset(&gSP.lookat, 0, sizeof(gSPInfo::lookat));
143
+ gSP.lookat.xyz[0][Y] = gSP.lookat.xyz[1][X] = 1.0f;
144
gSP.changed |= CHANGED_MATRIX | CHANGED_LIGHT | CHANGED_LOOKAT | CHANGED_GEOMETRYMODE;
145
gSP.tri_num = 0;
146
gSP.cbfd.advancedLighting = false;
src/gSP.h
@@ -77,11 +77,8 @@ struct gSPInfo
77
78
struct
79
{
80
- f32 rgb[2][3];
81
f32 xyz[2][3];
82
f32 i_xyz[2][3];
83
- f32 pos_xyzw[2][4];
84
- f32 ca[2], la[2], qa[2];
85
} lookat;
86
87
u32 numLights;
0 commit comments