Remove an unused variable.

It's never been used since it was added except to check the value, which is always false.
This commit is contained in:
Rachel Bryk 2014-06-18 20:24:45 -04:00
parent 591a27e328
commit e519b05e7a
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]) #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; Matrix rot,tot;
static Matrix scale; static Matrix scale;
static bool isscale=false;
if (!isscale)
{
MatrixScale(scale,1,camWidth/camHeight,1); MatrixScale(scale,1,camWidth/camHeight,1);
//MatrixIdentity(scale); //MatrixIdentity(scale);
}
MatrixRotationByZ(rot,ir_sin,ir_cos); MatrixRotationByZ(rot,ir_sin,ir_cos);
//MatrixIdentity(rot); //MatrixIdentity(rot);
MatrixMultiply(tot,scale,rot); MatrixMultiply(tot,scale,rot);