The physics factory instantiates different physics engines.  
 More...
#include <physics/physics.hh>
The physics factory instantiates different physics engines. 
 
§ IsRegistered()
  
  
      
        
          | static bool IsRegistered  | 
          ( | 
          const std::string &  | 
          _name | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Check if a physics engine is registered. 
- Parameters
 - 
  
    | [in] | _name | Name of the physics engine.  | 
  
   
- Returns
 - True if physics engine is registered, false otherwise. 
 
 
 
§ NewPhysicsEngine()
Create a new instance of a physics engine. 
- Parameters
 - 
  
    | [in] | _className | Name of the physics class.  | 
    | [in] | _world | World to pass to the created physics engine.  | 
  
   
 
 
§ RegisterAll()
  
  
      
        
          | static void RegisterAll  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
§ RegisterPhysicsEngine()
  
  
      
        
          | static void RegisterPhysicsEngine  | 
          ( | 
          std::string  | 
          _className,  | 
         
        
           | 
           | 
          PhysicsFactoryFn  | 
          _factoryfn  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Register a physics class. 
- Parameters
 - 
  
    | [in] | _className | Name of the physics class.  | 
    | [in] | _factoryfn | Function pointer used to create a physics engine.  | 
  
   
 
 
The documentation for this class was generated from the following file: