This commit is contained in:
parent
6f7a6252bc
commit
4eef48176b
21 changed files with 1050 additions and 885 deletions
|
@ -324,3 +324,15 @@ CFileDialog Dlg(true,NULL,Name,OFN_HIDEREADONLY | OFN_PATHMUSTEXIST,Filter);
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
int round(float f)
|
||||
{
|
||||
if (f<0)
|
||||
{
|
||||
return (int)(f-0.5f);
|
||||
}
|
||||
else
|
||||
{
|
||||
return (int)(f+0.5f);
|
||||
}
|
||||
}
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue