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:
parent
591a27e328
commit
e519b05e7a
|
@ -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);
|
||||
}
|
||||
MatrixRotationByZ(rot,ir_sin,ir_cos);
|
||||
//MatrixIdentity(rot);
|
||||
MatrixMultiply(tot,scale,rot);
|
||||
|
|
Loading…
Reference in New Issue