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 (const char *modelFlags, const char *name, int value)
static void aesop::updateFlagsFromData (int &flags, const Datahash *data)
static smart_ptr< PhysicsMeta > aesop::loadShape (const Datahash *physicsData, const Datahash *typeData, const Datahash *instData, const char *parentDir)
smart_ptr< TypeComponentLoader > aesop::getPhysicsLoader (void)
 get object capable of loading aesop physics objects (type components)
bool aesop::getPhysicsMetaFromInstance (smart_ptr< Instance > &instance,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.