The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
Classes | Namespaces | Functions | Variables
mesh.h File Reference
#include <D3D11.h>
#include <DirectXMath.h>
#include <memory>
#include <cassert>
#include "unicode.h"

Go to the source code of this file.

Classes

struct  dune::aabb< V >
 An axis-aligned bounding-box. More...
 
struct  dune::mesh< V >
 Basic interface of a mesh. More...
 
struct  dune::d3d_mesh
 Main D3D mesh interface class. More...
 

Namespaces

 dune
 Direct3D helper library.
 

Functions

bool dune::is_visible (const aabb< DirectX::XMFLOAT3 > &bbox, const DirectX::XMFLOAT4X4 &to_clip)
 Check if a bounding-box is visible given a clipping matrix. More...
 
void dune::load_model (ID3D11Device *device, const tstring &file, std::shared_ptr< d3d_mesh > &ptr)
 Load a model specified by a filename. More...
 

Variables

const D3D11_INPUT_ELEMENT_DESC dune::standard_vertex_desc []
 The standard layout of a d3d_mesh.