Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #510 from RachelBryk/unused
Remove an unused variable.
  • Loading branch information
lioncash committed Jun 25, 2014
2 parents 416a320 + e519b05 commit 2db5061
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp
Expand Up @@ -505,12 +505,8 @@ void Wiimote::GetIRData(u8* const data, bool use_accel)
#define printmatrix(m) PanicAlert("%f %f %f %f\n%f %f %f %f\n%f %f %f %f\n%f %f %f %f\n",m[0][0],m[0][1],m[0][2],m[0][3],m[1][0],m[1][1],m[1][2],m[1][3],m[2][0],m[2][1],m[2][2],m[2][3],m[3][0],m[3][1],m[3][2],m[3][3])
Matrix rot,tot;
static Matrix scale;
static bool isscale=false;
if (!isscale)
{
MatrixScale(scale,1,camWidth/camHeight,1);
//MatrixIdentity(scale);
}
MatrixScale(scale,1,camWidth/camHeight,1);
//MatrixIdentity(scale);
MatrixRotationByZ(rot,ir_sin,ir_cos);
//MatrixIdentity(rot);
MatrixMultiply(tot,scale,rot);
Expand Down

0 comments on commit 2db5061

Please sign in to comment.