69,336
社区成员
发帖
与我相关
我的任务
分享
U8 ARCalculator( FR dotAR, U8 * tempBy )
{
for( * tempBy = 3; * tempBy < 11; ( * tempBy ) ++ )
{
if( fabs( ( dotAR * * tempBy ) - floor( dotAR * * tempBy + 0.5 ) ) < 0.05f )
return ( U8 ) ( floor( dotAR * * tempBy + 0.5 ) );
}
return 0;
}