Subversion Repositories NaviCtrl

Rev

Rev 330 | Rev 492 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 330 Rev 491
Line 35... Line 35...
35
        return (sinus * m * n);
35
        return (sinus * m * n);
36
}
36
}
Line 37... Line 37...
37
 
37
 
38
s16 c_arccos2(s32 a,s32 b)
38
s16 c_arccos2(s32 a,s32 b)
39
{
39
{
40
 if(a>b) return(0);
40
        if(a>b) return(0);
41
 return(arccos64[64 * a / b]);
41
        return(arccos64[64 * a / b]);
Line 42... Line 42...
42
}
42
}
43
 
43
 
44
// cosinus with argument in degree at an angular resolution of 1 degree and a discretisation of 13 bit.
44
// cosinus with argument in degree at an angular resolution of 1 degree and a discretisation of 13 bit.