Namespaces | Functions

xform-model.h File Reference

#include "common/common.h"
#include "geometry/matrix_4.h"
#include "glut/renderable.h"
#include "threadsafe/smart_ptr.h"
Include dependency graph for xform-model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  glut


smart_ptr< Renderable > glut::createXformModel (const matrix4_t &xform,smart_ptr< Renderable > &model)
 Given a 4x4 transform and a base model, returns a wrapper model that applies the given transformation to the base model.