#include "bvh.h"
#include <fstream>
#include <math.h>
#include "common/wave_ex.h"
#include "geometry/matrix_4.h"
#include "perf/perf.h"
#include "util/parsing.h"
#include "util/token_stream.h"
Go to the source code of this file.
Namespaces | |
namespace | bvh |
Defines | |
#define | ENTRY(val) { #val , eIndex_ ##val }, |
Enumerations | |
enum | bvh::eChannelIndex { bvh::eIndex_Xposition = 0, bvh::eIndex_Yposition = 1, bvh::eIndex_Zposition = 2, bvh::eIndex_Xrotation = 3, bvh::eIndex_Yrotation = 4, bvh::eIndex_Zrotation = 5, bvh::eIndex_Max = 6, bvh::eIndex_Invalid = -1 } |
Functions | |
static void | bvh::doTransformation (IO matrix4_t &M, IN eChannelIndex i, IN float x) throw () |
static eChannelIndex | bvh::getChannelIndex (IN const char *name) |
static const char * | bvh::readFloat (IN const char *p, IO std::string &token, OUT float &f) |
static const char * | bvh::readInt (IN const char *p, IO std::string &token, OUT int &i) |
Variables | |
static const float | bvh::s_radiansPerDegree = M_PI / 180.0 |
static const index_entry_t | bvh::s_indexTable [] |