mirror of https://github.com/nmlgc/ReC98.git
9 lines
306 B
C++
9 lines
306 B
C++
![]() |
// Calculates either the X or Y coordinate of a point with the given [radius]
|
||
|
// away from [center]. [ratio] is either the cosine or the sine of the intended
|
||
|
// angle.
|
||
|
#if (GAME >= 4)
|
||
|
int pascal polar(int center, int radius, int ratio);
|
||
|
#else
|
||
|
int __cdecl polar(int center, int radius, int ratio);
|
||
|
#endif
|