mirror of https://github.com/axmolengine/axmol.git
Remove unnecessary sinf, cosf, tanf and sqrtf macros
This commit is contained in:
parent
495dfd166f
commit
a4a357db69
|
@ -50,12 +50,6 @@ THE SOFTWARE.
|
|||
#define MAX(x,y) (((x) < (y)) ? (y) : (x))
|
||||
#endif // MAX
|
||||
|
||||
// some function linux do not have
|
||||
#define tanf tan
|
||||
#define sqrtf sqrt
|
||||
#define cosf cos
|
||||
#define sinf sin
|
||||
|
||||
#endif // CC_TARGET_PLATFORM == CC_PLATFORM_LINUX
|
||||
|
||||
#endif // __CC_STD_C_H__
|
||||
|
|
|
@ -49,12 +49,6 @@
|
|||
#define MAX(x,y) (((x) < (y)) ? (y) : (x))
|
||||
#endif // MAX
|
||||
|
||||
// some function linux do not have
|
||||
#define tanf tan
|
||||
#define sqrtf sqrt
|
||||
#define cosf cos
|
||||
#define sinf sin
|
||||
|
||||
#endif // CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN
|
||||
|
||||
#endif // __CC_STD_C_H__
|
||||
|
|
Loading…
Reference in New Issue