mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
lots of little changes for os x
This commit is contained in:
parent
e45fe3235f
commit
01d65fe28c
@ -19,11 +19,11 @@
|
|||||||
switchnode pnmtext text tform tiff lerp loader putil \
|
switchnode pnmtext text tform tiff lerp loader putil \
|
||||||
audio pgui pandabase glstuff
|
audio pgui pandabase glstuff
|
||||||
|
|
||||||
|
#define LOCAL_LIBS \
|
||||||
|
downloader event express pandabase
|
||||||
|
#define OTHER_LIBS \
|
||||||
#define LOCAL_LIBS downloader express pandabase
|
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
#define OTHER_LIBS dtoolconfig dtool
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
|
||||||
#if $[LINK_IN_GL]
|
#if $[LINK_IN_GL]
|
||||||
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL
|
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
egg2pg egg2sg egg builder
|
egg2pg egg2sg egg builder
|
||||||
|
|
||||||
#define LOCAL_LIBS putil express
|
#define LOCAL_LIBS putil express
|
||||||
#define OTHER_LIBS dtoolconfig dtool
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
|
dtoolbase:c dtoolutil:c dtool:m
|
||||||
|
|
||||||
#begin metalib_target
|
#begin metalib_target
|
||||||
#define TARGET pandaegg
|
#define TARGET pandaegg
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
#define COMPONENT_LIBS \
|
#define COMPONENT_LIBS \
|
||||||
distort effects
|
distort effects
|
||||||
#define LOCAL_LIBS putil express
|
#define LOCAL_LIBS putil express
|
||||||
#define OTHER_LIBS dtoolconfig dtool
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
|
dtoolbase:c dtoolutil:c dtool:m
|
||||||
|
|
||||||
#begin metalib_target
|
#begin metalib_target
|
||||||
#define TARGET pandafx
|
#define TARGET pandafx
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LOCAL_LIBS linmath putil express
|
#define LOCAL_LIBS linmath putil express
|
||||||
#define OTHER_LIBS dtoolconfig dtool
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
|
dtoolbase:c dtoolutil:c dtool:m
|
||||||
|
|
||||||
#begin metalib_target
|
#begin metalib_target
|
||||||
#define TARGET pandaphysics
|
#define TARGET pandaphysics
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#define OTHER_LIBS dtoolconfig dtool
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
#define BUILD_DIRECTORY $[HAVE_AUDIO]
|
#define BUILD_DIRECTORY $[HAVE_AUDIO]
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
dtoolutil:c dtoolbase:c dtool:m
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
#define OSX_SYS_LIBS mx
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
#define TARGET distort
|
#define TARGET distort
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||||
dtoolutil:c dtoolbase:c dtool:m
|
dtoolutil:c dtoolbase:c dtool:m
|
||||||
|
#define OSX_SYS_LIBS mx
|
||||||
|
|
||||||
#begin lib_target
|
#begin lib_target
|
||||||
#define TARGET gobj
|
#define TARGET gobj
|
||||||
|
@ -22,6 +22,14 @@
|
|||||||
#include <float.h>
|
#include <float.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define isnan( x ) ( ( sizeof ( x ) == sizeof(double) ) ? \
|
||||||
|
__isnand ( x ) : \
|
||||||
|
( sizeof ( x ) == sizeof( float) ) ? \
|
||||||
|
__isnanf ( x ) : \
|
||||||
|
__isnan ( x ) )
|
||||||
|
#endif
|
||||||
|
|
||||||
INLINE_LINMATH float csqrt(float v) {
|
INLINE_LINMATH float csqrt(float v) {
|
||||||
return sqrtf(v);
|
return sqrtf(v);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user