transform: floats were being implicitly promoted to doubles, adjust to use floats.
also use macros RAD2DEGF & DEG2RADF.
This commit is contained in:
@@ -274,7 +274,7 @@ static void InputAngle(TransInfo *UNUSED(t), MouseInput *mi, short mval[2], floa
|
||||
mi->imval[1] = mval[1];
|
||||
}
|
||||
|
||||
*angle += dphi;
|
||||
*angle += (double)dphi;
|
||||
|
||||
output[0] = *angle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user