Namespaces | Functions | Variables

obj-material.cpp File Reference

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

Go to the source code of this file.

Namespaces

namespace  obj

Functions

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

map_mtl_t obj::parseOBJMaterials (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