Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omPhysicsConstraintResourceTranscoder.h File Reference
#include "omPhysicsResourcesConfig.h"

Classes

class  om::physics::resources::ConstraintResourceTranscoder
 A class that encodes and decodes constraints to/from the resource set format. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::physics
 A namespace that handles simulation of physically-based dynamics.
 
 om::physics::resources
 A namespace that contains classes that load and save physics data to the resource file format.
 

Functions

 OM_RESOURCE_TYPE_COPY (om::physics::constraints::Constraint, constraint, const om::physics::constraints::ConstraintType &type=constraint.getType();if(type==om::physics::constraints::ConstraintType::of< om::physics::constraints::SphericalJoint >()) return util::construct< om::physics::constraints::SphericalJoint >(*(om::physics::constraints::SphericalJoint *)&constraint);else if(type==om::physics::constraints::ConstraintType::of< om::physics::constraints::ContactConstraint >()) return util::construct< om::physics::constraints::ContactConstraint >(*(om::physics::constraints::ContactConstraint *)&constraint);return((void *) 0);)
 

Function Documentation