Namespaces

physics-loader.cpp File Reference

#include "physics-loader.h"
#include <fstream>
#include "common/wave_ex.h"
#include "datahash/datahash_util.h"
#include "datahash/datahash_text.h"
#include "hfield/heightfield.h"
#include "perf/perf.h"
#include "threadsafe/smart_mutex.h"
#include "trimesh/trimesh.h"
#include "util/file.h"
#include "util/parsing.h"
#include "util/token_stream.h"
Include dependency graph for physics-loader.cpp:

Go to the source code of this file.

Namespaces

namespace  aesop



#define TEST_FLAG(key, flag)   flags |= checkFlag(textFlags, key , PhysicsObject::eFlag_ ##flag );
static const char * aesop::s_name = "Physics Meta Loader"
static smart_ptr< PhysicsRegistry > aesop::s_registry
static int aesop::checkFlag (IN const char *modelFlags, IN const char *name, IN int value)
static void aesop::updateFlagsFromData (IO int &flags, IN const Datahash *data)
static smart_ptr< PhysicsMeta > aesop::loadShape (IN const Datahash *physicsData, IN const Datahash *typeData, IN const Datahash *instData, IN const char *parentDir)
smart_ptr< TypeComponentLoader > aesop::getPhysicsLoader (void)
 get object capable of loading aesop physics objects (type components)
bool aesop::getPhysicsMetaFromInstance (IN smart_ptr< Instance > &instance, OUT physics_meta_t &meta)
 given an instance, return a physics_meta_t object

Define Documentation

#define TEST_FLAG (   key,
  flag 
)    flags |= checkFlag(textFlags, key , PhysicsObject::eFlag_ ##flag );

Definition at line 112 of file physics-loader.cpp.