Skip to content

Commit

Permalink
Relpace sin() and cos() with float versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Greb authored and John Greb committed Aug 12, 2012
1 parent f365dd4 commit 7d2fbf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/game/q_shared.h
Expand Up @@ -104,8 +104,13 @@ If you have questions concerning this license or the applicable additional terms
#include <ctype.h>
#include <limits.h>

#if 1 // for vfp on raspberry pi
#define sin(f) sinf(f)
#define cos(f) cosf(f)
#endif

#endif //Q3VM

#ifdef _WIN32

//#pragma intrinsic( memset, memcpy )
Expand Down

0 comments on commit 7d2fbf9

Please sign in to comment.