Merge pull request #510 from RachelBryk/unused

Remove an unused variable.
This commit is contained in:
Lioncash 2014-06-25 12:41:04 -04:00
commit 2db50612b9
1 changed files with 2 additions and 6 deletions

View File

@ -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);