transform: floats were being implicitly promoted to doubles, adjust to use floats.

also use macros RAD2DEGF & DEG2RADF.
This commit is contained in:
2011-03-28 17:06:15 +00:00
parent 859d22467d
commit faf07c3e2b
6 changed files with 69 additions and 69 deletions

View File

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