This website works better with JavaScript.
Explore
Help
Sign In
Rockingcool
/
netpong
Watch
1
Star
0
Fork
You've already forked netpong
0
Code
Issues
Pull Requests
Packages
Projects
Releases
2
Wiki
Activity
8ea9764165
netpong
/
includes
/
math-helpers.hpp
7 lines
97 B
C++
Raw
Blame
History
int
signum
(
int
num
)
{
int
retval
=
0
;
(
num
>
0
)
?
retval
=
1
:
retval
=
-
1
;
return
retval
;
}
Reference in New Issue
View Git Blame
Copy Permalink