Namespaces

obj-material.h File Reference

#include "glut/material.h"
#include "nstream/nstream.h"
#include "threadsafe/smart_ptr.h"
Include dependency graph for obj-material.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  obj



typedef std::map< std::string,
smart_ptr< glut::Material > > 
obj::map_mtl_t
map_mtl_t obj::parseOBJMaterials (nstream::Stream *stream)
 given a stream for an OBJ material file, returns a map of name --> material