14 #ifndef CONFIG_PHYSICS_H
15 #define CONFIG_PHYSICS_H
21 ConfigureDecl(config_physics, EXPCL_PANDA_PHYSICS, EXPTP_PANDA_PHYSICS);
22 NotifyCategoryDecl(physics, EXPCL_PANDA_PHYSICS, EXPTP_PANDA_PHYSICS);
31 #define physics_spam(msg) \
32 if (physics_cat.is_spam()) { \
33 physics_cat->spam() << msg << std::endl; \
36 #define physics_debug(msg) \
37 if (physics_cat.is_debug()) { \
38 physics_cat->debug() << msg << std::endl; \
41 #define physics_info(msg) \
42 physics_cat->info() << msg << std::endl
44 #define physics_warning(msg) \
45 physics_cat->warning() << msg << std::endl
47 #define physics_error(msg) \
48 physics_cat->error() << msg << std::endl
51 #define physics_spam(msg) ((void)0)
52 #define physics_debug(msg) ((void)0)
53 #define physics_info(msg) ((void)0)
54 #define physics_warning(msg) ((void)0)
55 #define physics_error(msg) ((void)0)
EXPCL_PANDA_PHYSICS void init_libphysics()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.