Panda3D
Macros | Functions
config_physics.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "notifyCategoryProxy.h"
#include "dconfig.h"

Go to the source code of this file.

Macros

#define audio_error(msg)   audio_cat->error() << msg << std::endl
 
#define PHYSICS_DEBUG
 
#define physics_debug(msg)
 
#define physics_error(msg)   physics_cat->error() << msg << std::endl
 
#define physics_info(msg)   physics_cat->info() << msg << std::endl
 
#define physics_spam(msg)
 
#define physics_warning(msg)   physics_cat->warning() << msg << std::endl
 

Functions

 ConfigureDecl (config_physics, EXPCL_PANDA_PHYSICS, EXPTP_PANDA_PHYSICS)
 
EXPCL_PANDA_PHYSICS void init_libphysics ()
 Initializes the library. More...
 
 NotifyCategoryDecl (physics, EXPCL_PANDA_PHYSICS, EXPTP_PANDA_PHYSICS)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
charles
Date
2000-07-17

Definition in file config_physics.h.

Macro Definition Documentation

◆ physics_debug

#define physics_debug (   msg)
Value:
if (physics_cat.is_debug()) { \
physics_cat->debug() << msg << std::endl; \
} else {}

Definition at line 38 of file config_physics.h.

◆ physics_spam

#define physics_spam (   msg)
Value:
if (physics_cat.is_spam()) { \
physics_cat->spam() << msg << std::endl; \
} else {}

Definition at line 33 of file config_physics.h.

Function Documentation

◆ init_libphysics()

EXPCL_PANDA_PHYSICS void init_libphysics ( )

Initializes the library.

This must be called at least once before any of the functions or classes in this library can be used. Normally it will be called by the static initializers and need not be called explicitly, but special cases exist.

Definition at line 48 of file config_physics.cxx.

Referenced by init_libpandaphysics().