Namespaces | Functions | Variables

obj-material.cpp File Reference

#include "obj-material.h"
#include "common/wave_ex.h"
#include "perf/perf.h"
#include "util/file.h"
#include "util/parsing.h"
#include "wave-glut/texture.h"
Include dependency graph for obj-material.cpp:

Go to the source code of this file.

Namespaces

namespace  obj

Functions

static void obj::setMaterial (IN int flag, IN const glut::fcolor_t &c) throw ()
static glut::fcolor_t obj::parseColor (IN const char *p)

map_mtl_t obj::parseOBJMaterials (IN nstream::Stream *stream)
 given a stream for an OBJ material file, returns a map of name --> material

Variables

static const eParseBehavior obj::s_parseFlags = eParse_Strip