DubiousEngine  0.2.0
Simple Game Engine
Dubious::Utility::Ac3d_model::Surface Struct Reference

A Surface. More...

#include <Ac3d_file_reader.h>

Public Attributes

unsigned short p0
 
unsigned short p1
 
unsigned short p2
 
int material_index
 

Detailed Description

A Surface.

An AC3D Surface object contains 3 indices into the Point array. Actually AC3D supports any number of points, but I restrict the reader to only accepting a model made of triangles. It also contains Material information.

Member Data Documentation

int Dubious::Utility::Ac3d_model::Surface::material_index
unsigned short Dubious::Utility::Ac3d_model::Surface::p0
unsigned short Dubious::Utility::Ac3d_model::Surface::p1
unsigned short Dubious::Utility::Ac3d_model::Surface::p2

The documentation for this struct was generated from the following file: